Click to See Complete Forum and Search --> : Does someone know how to install CURL library?
danielson
10-15-2002, 12:39 PM
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!!
largo
10-15-2002, 03:37 PM
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/
danielson
10-15-2002, 11:47 PM
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??
largo
10-16-2002, 12:49 AM
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.
PHP Builder
Copyright Internet.com Inc. All Rights Reserved.