Enable cURL with PHP and Apache in Windows - Php

enable PHP cURL

Snippet Code


  
Rate this page :
  [ 0 votes]

Follow the steps to enable cURL with PHP and Apache in Windows

1. Open your php.ini file and edit the following lines, --> set extension_dir to "C:Program Filesphpext" (path to the extension directory) --> set register_globals "On" --> set session.save_path to "C:Program Filesphptmp" (you need to create that directory first) 2. Copy php5ts.dll (located in C:Program Filesphp) to your Apache bin folder. 3. Copy libeay32.dll and ssleay32.dll (located in C:Program Filesphpext(dlls)) to C:Windowssystem32 4. Uncomment "extension=php_curl.dll" line in your php.ini file to enable curl. 5.Restart Apache and try with your curl coding.

Tags


Ask Questions

Ask Question