How to solve curl_init php error reporting problem

藏色散人
Release: 2023-03-05 21:16:01
Original
2657 people have browsed it

curl_init php error solution: first remove the "extension=php_curl.dll" comment in the "php.ini" file; then configure the ext directory; finally put "libssh2.dll" into "apache/ bin" directory and restart.

How to solve curl_init php error reporting problem

Recommended: "PHP Video Tutorial"

1. First, in the php.ini file Remove the extension=php_curl.dll comment, as shown in the figure below:

2. Configure the ext directory, which requires an absolute path, extension_dir = "D:/InstallFile/php-5.6. 9-Win32-VC11-x64/ext", as shown in the figure below:

3. There need to be libssh2.dll, ssleay32.dll, libeay32 in the apache/bin directory .dll. Since mine lacks libssh2.dll, I need to download one from the Internet, put libssh2.dll in the apache/bin directory, and then restart apache.

The above is the detailed content of How to solve curl_init php error reporting problem. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
php
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