I've enabled curl in PHP.INI en restarted my machine and Apache.
extension=php_curl.dll
Still I get the following error in my php script:
Call to undefined function curl_init()
I'm running XAMP on Windows XP Pro. Any thoughts?
php_curl.dll is in C:\Program Files\xampp\php\ext extension_dir = "C:\Program Files\xampp\php\ext\"
From serverfault
solsol
-
The
libeay32.dll
andssleay.dll
files in your PHP directory must be accessible from somewhere in yourPATH
variable for cURL to work with Apache. The easiest way to achieve this is to add your PHP directory to yourPATH
environment variable.From zneak
0 comments:
Post a Comment