I've done it like this:
edit php.ini:
it's from the how-to I wrote:Line 426:
change the lines into this:
; UNIX: "/path1:/path2"
include_path = ".:/opt/lib/php/extentions:/opt/share/pear"
http://wl500g.info/showpost.php?p=151715
also you must have curl installed, but I guess you already got that far
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