In Windows, php5 cannot find php_curl.dll. because Curl is required, the following error occurs when setting: unabletoloaddynamiclibrary '.... Php_curl.dll 'my environment is Apache/2.2.14 (Win32) PHP/5.3.0. it is reasonable to say that the installation of php5 is very simple, and php5 cannot find php_curl.dll under extens Windows directly.
Because Curl is required, the following error is prompted during configuration: unable to load dynamic library '.... Php_curl.dll'
My environment is Apache/2.2.14 (Win32) PHP/5.3.0. it is reasonable to say that the installation of php5 is very simple. just specify extension_dir = "c:/php523/ext, for example, gd2, mysqli, and mysql_dll are normal, but php_curl.dll always prompts an error. Try to modify the PATH, copy the DLL to/windows/system32/, or prompt that php_curl.dll cannot be found.
Finally, we found this sentence on php.net: Note to Win32 Users: In order to enable this module on a Windows environment, libeay32.dll and ssleay32.dll must be present in your PATH.
Find the two files in the php root directory and copy libeay32.dll and ssleay32.dll to/windows/system32/. Finally, the following message is displayed in phpinfo:
CURL support enabled
CURL Information 7.19.4
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service