Operating System - HP-UX
1821244 Members
3007 Online
109632 Solutions
New Discussion

Enabling curl in PHP on Apache

 
JxD
Advisor

Enabling curl in PHP on Apache

I have an Apache web server with PHP on my 11.31 system: Apache/2.0.59 HP-UX_Apache-based_Web_Server (Unix) mod_perl/1.99_16 Perl/v5.8.8 DAV/2 PHP/5.2.6 Server at mwrx1600 Port 80. I installed the curl depot from the Internet Express disks and curl is installed and available from the command line.

However, I do not have libcurl.sl in the PHP extensions directory nor do I have an ;extension=libcurl.sl directive in my PHP.ini file to uncomment. I'm a bit at a loss as to how to enable the curl extension in PHP and am hoping someone can help?

Thanks.
1 REPLY 1
Shinji Teragaito_1
Respected Contributor

Re: Enabling curl in PHP on Apache

According to the following web page, it's likely you need to
build PHP binaries from its source code with --with-curl option:

http://www.php.net/manual/en/curl.installation.php