Home > Article > Backend Development > What to do if php fails to open curl
Solution to the failure of php to open curl: First find and open the "php.ini" file; then remove the semicolon before "curl_dll"; then copy the "libssh2.dll" file to "apache\bin" " directory; finally configure "httpd.conf".
Recommended: "PHP Video Tutorial"
php curl module cannot be opened problem solution
Configure php.ini and remove the semicolon before curl_dll.
As shown:
Replace libssh2.dll, php_curl Copy the .dll, ssleay32.dll, libeay32.dll files to the windows\system32 directory
Copy the libssh2.dll file to the apache\bin directory
If the above cannot be solved:
Configure it in Apache’s httpd.conf file:
LoadFile "D:/webserver/php/ssleay32.dll" LoadFile "D:/webserver/php/libeay32.dll"
The above is the detailed content of What to do if php fails to open curl. For more information, please follow other related articles on the PHP Chinese website!