- Open php.ini and uncomment line:
;extension=php_curl.dll
(simply remove the semicolon). - Download php_curl.dll for your version of PHP. I use this google question to do that:
php_curl.dll intitle:"index.of" - Copy php_curl.dll into your PHP ext directory.
- Download the last version of Curl development package from http://curl.haxx.se/. And copy libeay32.dll and ssleay32.dll to you WINDOWS directory.
- Restart a web-server. Any errors during the web-server startup mean of incorrect version of php_curl.dll used.
- Check phpinfo() for information like:
curl
cURL support enabled
cURL Information libcurl/7.16.0 OpenSSL/0.9.8d zlib/1.2.3 - All done!
суббота, 27 сентября 2008 г.
PHP. Install Сurl extension on windows
Подписаться на:
Комментарии к сообщению (Atom)
Комментариев нет:
Отправить комментарий