Refer to official Solution: http://nz.php.net/manual/en/curl.installation.php
1, the PHP installation directory under the Ext folder has the Php_curl.dll file, and then right-click Properties---details to see if the version number is the same as the PHP version;
2. php.ini file; Extension=php_curl.dll front ";" Remove
If the above method is not enough, please continue down;
3, (if it is windows32 bit system) copy Php_curl.dll, Ssleay32.dll, Libeay32.dll to system32 directory
4. Copy the Libssh2.dll to the Apache24\bin directory and restart the service
Note:note to Win32 Users
In order to enable the This module on a Windows environment, Libeay32.dll and Ssleay32.dll must is present in your PATH. You don ' t need libcurl.dll from the CURL site.
I had to also also copy Libssh2.dll into my Apache24 folder for this to work with my PHP 5.6.2 installation. So altogether I had to do the following:
Move to Windows\System32 folder:
Libssh2.dll, Php_curl.dll, Ssleay32.dll, Libeay32.dll
Move to Apache24\bin folder
Libssh2.dll
Uncomment Extension=php_curl.dll
Workaround for fatal error call to undefined function curl_init () in PHP under Windows