Friday, December 6, 2013

Installing the cUrl in PHP in a windows machine running wamp server

  • Requirements

    In order to use PHP's cURL functions you need to install the » libcurl package. PHP requires that you use libcurl 7.0.2-beta or higher. In PHP 4.2.3, you will need libcurl version 7.9.0 or higher. From PHP 4.3.0, you will need a libcurl version that's 7.9.8 or higher. PHP 5.0.0 requires a libcurl version 7.10.5 or greater. 

    Follow to steps below to enable the php_curl extension.  

Steps to Install php_curl extension:  

  • Left click wamp tray icon and Go to PHP and PHP extension and click the php_curl item to enable it.
  • The server will restart on its own or restart manually if not.
  • Remove ';' from extension = php_curl.dll in php.ini file
  • Go to the ext directory of your php installation and copy php_curl.dll, ssleay32.dll and libeay32.dll to the Windows/system32 folder
  •  That's it. Now restart you server and you have your curl php extension enabled in your php.

No comments:

Post a Comment