paperillusion Posted May 11, 2007 Share Posted May 11, 2007 Hello plp I am having some problems when compiling php5 with the curl library. I previously installed php5 with apache2 and mysql and it worked fine. But now I need to do some stuff with the curl library. I downloaded the source, ./configure, make, make test, and make install and it installs in the /usr/local/include/curl directory. then I tried recompiling php again but this time with > ./configure --with-apx2=/usr/local/apache2/bin/apxs --with-mysql --with-curl=/usr/local/ > make > make install /usr/local/apache2/bin/apachectl restart But when I run a script containing phpinfo() it just shows me the same thing it showed me the first time I installed php-apache-mysql, and I know this because on the Build Date field I am getting the same date as of the first time it was installed, and the Configure Command field is the same as the first one (/configure --with-mysql --with-apxs2=/usr/local/httpd-2.2.4/bin/apxs), and obviously I don't get to see curl when I run phpinfo() which can only mean that php wasn't compiled with that library although I think I am.... Any idea what I am doing wrong..........thanks plp Quote Link to comment https://forums.phpfreaks.com/topic/50929-compiling-php-with-curl-library/ Share on other sites More sharing options...
utexas_pjm Posted May 11, 2007 Share Posted May 11, 2007 You sure that Apache is pointing to the binary that you are building from source and not another one? I'd check by cd'ing to the /php/bin dir that you just built from source and %php -i | grep php.ini and comparing that to the php.ini in your phpinfo() function via apache. I'd do this first just as a sanity check, since you claim the build date is not changing. Best, Patrick Quote Link to comment https://forums.phpfreaks.com/topic/50929-compiling-php-with-curl-library/#findComment-250598 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.