Monday, 3 August 2009

How To Enable Curl in PHP on Linux

 To enable PHP Curl support on Linux with apache 2:

$ sudo apt-get install php5-curl

Or do it manually (compiling sources):
http://au2.php.net/manual/en/curl.installation.php
http://curl.haxx.se/libcurl/php/install.html
http://www.wallpaperama.com/forums/how-to-find-out-if-php-is-compiled-with-curl-extension-installed-enabled-t1576.html

1 comment:

Anonymous said...

Thanks! I guess cURL isn't installed by default on linux.