Get the App
SLTechnology News&Howtos  ›  Development  › 

What if the php extension php_curl.dll is not loaded

Shulou Source: shulou.com Published: 2022-06-03 06:39:46 11月15日 Update

This article is about what to do if the php extension php_curl.dll is not loaded. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

Method 1 (which has passed the test) already has a built-in php_curl.dll. In the ext directory, this DLL is used to support SSL and zlib.

Find extension=php_curl.dll in php.ini and remove the previous comments.

Setting extension_dir=c:\ php\ ext, refreshing the PHP page was wrong, saying that the module php_curl.dll could not be found.

It is the same mistake to copy php_curl.dll to windows\ system32.

After looking for it on the Internet, it is necessary to:

Libeay32.dll, ssleay32.dll, php5ts.dll, php_curl.dll

Copy them to the system32 directory and restart apache.

Method 2 can also be tried:

The php_curl.dll depends on two files (ssleay32.dll and libeay32.dll). If the two files are not configured correctly, you will be prompted that the dynamic library cannot be found, which are in the php directory.

Solution: configure it in the httpd.conf file of Apache:

LoadFile "D:/webserver/php/ssleay32.dll"

LoadFile "D:/webserver/php/libeay32.dll"

Then restart the apache service and ok.

Thank you for reading! On "php extension php_curl.dll does not load what to do" this article is shared here, I hope the above content can be of some help to you, so that you can learn more knowledge, if you think the article is good, you can share it out for more people to see it!

Tags: File two directory how to do content copy method more article configuration good practical method dynamic passed article times module comments see Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux NVidia Huawei Shulou Technology MariaDB