Home > Backend Development > PHP Problem > What to do if php fails to open curl

What to do if php fails to open curl

藏色散人
Release: 2023-03-04 17:00:01
Original
2771 people have browsed it

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".

What to do if php fails to open curl

Recommended: "PHP Video Tutorial"

php curl module cannot be opened problem solution

Configure php.ini and remove the semicolon before curl_dll.

As shown:

What to do if php fails to open curl

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"
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template