Solve the problem of not loading php_curl.dll extension in php.
| This article introduces how php cannot load the php_curl.dll extension problem. if you need it, refer to it.
Method 1: php_curl.dll has been built in. in the ext Directory, this DLL is used to support SSL and zlib. In php. ini, find extension = php_curl.dll and remove the preceding comment. Set extension_dir = c: \ php \ ext. when the PHP page is refreshed, an error is reported, indicating that the module php_curl.dll cannot be found. copy php_curl.dll to windows \ system32. you need to: libeay32.dll, ssleay32.dll, php5ts. dll and php_curl.dll are all copied to the system32 directory. restart apache.
Method 1: available after testing.
Method 2: This php_curl.dll depends on two files (ssleay32.dll and libeay32.dll). if these two files are not correctly configured, the system will prompt that the dynamic library cannot be found, these two files are under the php directory. Solution: configure the following in the httpd. conf file of Apache: Code example: LoadFile "D:/webserver/php/ssleay32.dll" LoadFile "D:/webserver/php/libeay32.dll"
Restart apache to make the configuration take effect.
Note: Method 2 is not tested. you can test it on your own. |