Home>Article>Backend Development> What to do if php cannot load php_curl.dll
Solution to the problem that php cannot load "php_curl.dll": first open the "httpd.conf" configuration file; then add the configuration content as "LoadFile "php installation path/ssleay32.dll""; finally restart the apache service That’s it.
Cause analysis:
(Recommended tutorial:php video tutorial)
php_curl.dll It depends on two files (ssleay32.dll and libeay32.dll). If these two files are not configured correctly, it will prompt that the dynamic library cannot be found. These two files are under the php directory.
Solution:
Add the following configuration to Apache’s httpd.conf file:
(Related recommendations:php training)
LoadFile "D:/webserver/php/ssleay32.dll" LoadFile "D:/webserver/php/libeay32.dll"
Then restart the apache service and it will be ok.
The above is the detailed content of What to do if php cannot load php_curl.dll. For more information, please follow other related articles on the PHP Chinese website!