PDA

Bekijk de volledige versie : How to enable curl?



Egres
07-03-2010, 23:58
Hello everyone!

Can anybody explain how to enable curl in php?
:confused:

wpte
08-03-2010, 00:26
Hello everyone!

Can anybody explain how to enable curl in php?
:confused:

I've done it like this:
edit php.ini:

Line 426:
change the lines into this:

; UNIX: "/path1:/path2"
include_path = ".:/opt/lib/php/extentions:/opt/share/pear"

it's from the how-to I wrote:
http://wl500g.info/showpost.php?p=151715

also you must have curl installed, but I guess you already got that far:p

quick reboot of the webserver you're using...
and php_info() should say this:

cURL support enabled
cURL Information libcurl/7.20.0 OpenSSL/0.9.7m zlib/1.2.3

Egres
08-03-2010, 01:56
Thank you wpte for the link to your how-to.
It is very helpful :)
everything working !!!