Cause analysis
The Undefined function curl_init () error is not loaded, because the PHP curl function is required to load the Php_curl.dll module in the php.ini, so the reason knows we can not start operation.
Check:
1. Function_exists (), whether the curl has been supported
2. Whether the Php_curl.dll exists in the Php/ext catalogue;
3. PHP installation directory, Libeay32.dll and Ssleay32.dll is there!
Modify Configuration:
1. Modify the php.ini to remove the semicolon before the Extension=php_curl.dll.
If it's still not working, we could be a problem with the environment variable. You can copy it to a Windows folder.
2, the PHP directory in the Php_curl.dll copy to C:/windows/system32 and c:/windows/syswow64 two folders inside a try, this method is generally more useful.
Note: Libeay32.dll and Ssleay32.dll php_curl.dll three files are found in ext in your PHP installation directory.