Saturday, June 20, 2009

Curl error while compling PHP

Error:

configure: error: Please reinstall the libcurl distribution -
easy.h should be in /include/curl/

Fix:

./configure
–with-curl=/opt/curlssl/

/usr/local/php5/bin/php5 -v

cp -p /usr/local/php5/bin/php-cgi5 /usr/local/cpanel/cgi-sys/php5

cp -p /usr/local/php5/bin/ /usr/local/cpanel/cgi-sys/php5

chown root.wheel /usr/local/cpanel/cgi-sys/php5
ll /usr/local/cpanel/cgi-sys/php5
chown root.wheel /usr/local/cpanel/cgi-sys/php5

/etc/init.d/httpd restart

0 comments:

Post a Comment

  © Blogger template PingooIgloo by Ourblogtemplates.com 2009

Back to TOP