Dos someone know how to install CURL library??
Besides, what should I write in php to use CURL ?
Should I write "include xxx" to use CURL?
Thanks!!
Does someone know how to install CURL library?
danielson,
simply download and install curl itself, during your php configure, add the line:
--with-curl=/path/to/curl
Generally the path is not necessary if curl is installed in default location.
Note: be sure curl is compiled with SSL support if you plan to use that, check it's install logs to save some hassle later on.
hope this helps.
-m.
cURL: http://curl.haxx.se/
However, I still don't understand what it says...
Where should I put the
"--with-curl=/path/to/curl "??
Write it in the php code??
danielson, sorry if I wasn't very clear.
Once you have cURL installed, configure php again (you have to re-install php to include libcurl support).
To do so, add the following option to your php configuration line:
./configure --enable-ftp \
--with-curl \
--other-options ..
Hope this helps.
-m.