Re: curl?
| From: | Torgny Bjers | Date: | Sat, 13 Aug 2005 11:40:40 +0000 |
| Subject: | Re: curl? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-220550@lists.php.net to get a copy of this message | ||
Wong HoWang wrote:
>Hi, Everybody!
>
>I got this when I execute the script:
>Fatal error: Call to undefined function: curl_init() in msnp9.class.php on
>line 259
>
>is there anyway to solve it?
>
Yes, by installing the curl libraries. If you are using Windows and PHP
5.0, you can get the curl library DLL from the PECL collection:
http://www.php.net/get/pecl-5.0.4-Win32.zip/from/a/mirror
If you are using Linux, you can add the --with-curl (or was it
--enable-curl) configure argument and re-compile PHP.
Regards,
Torgny