Showing posts with label Apache. Show all posts
Showing posts with label Apache. Show all posts

Monday, August 20, 2012

MODx: enabling cURL in WAMP on Win 7 64bit

MODx requires that cURL be running, and to enable it on a Win 7 64bit platform:

  • add the PHP Bin folder to the PATH. ie: C:\wamp\bin\php\php5.3.13
  • edit the php.ini file in the PHP folder to uncomment the extension=php_curl.dll line.
  • also edit the php.ini file in Apache's /bin folder to uncomment the same line.
If you get a cURL error "because the side-by-side configuration incorrect" then you can go to http://www.anindya.com/php-5-4-3-and-php-5-3-13-x64-64-bit-for-windows/, scroll down to "Fixed curl extension" and download "php_curl-5.4.3-VC9-x64.zip".  Replace the php_curl.dll in the PHP ext folder with this new one and restart the server.