Enable cURL with PHP and Apache in Windows

by Ramya 2011-02-05 14:56:28

Enable cURL with PHP and Apache in Windows:

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 Files\php\ext" (path to the extension directory)
--> set register_globals "On"
--> set session.save_path to "C:\Program Files\php\tmp" (you need to create that directory first)

2. Copy php5ts.dll (located in C:\Program Files\php\) to your Apache bin folder.

3. Copy libeay32.dll and ssleay32.dll (located in C:\Program Files\php\ext(dlls)) to C:\Windows\system32

4. Uncomment "extension=php_curl.dll" line in your php.ini file to enable curl.

5.Restart Apache and try with your curl coding.

Tagged in:

1243
like
0
dislike
0
mail
flag

You must LOGIN to add comments