Saturday, March 27, 2010

Enabling Curl with PHP on Windows

Today I was installing Zen Cart when I ran into this error message:

CURL not compiled into PHP - notify server administrator
Even though it is quite simple to solve the problem, it took me a while to find this. That's usually a good sign that I should write it down ASAP so here it goes

1) remove ';' from extension=php_curl.dll in php.ini
2) ensure that  ssleay32.dll and libeay32.dll are in Windows/system32.
3) Copy php_curl.dll into Windows\System32 as well.

I hope it helps