What to do if php cannot use curl

王林
Release: 2023-03-04 12:42:02
Original
4366 people have browsed it

Solution to the problem that php cannot use curl: 1. Open the php.ini configuration file and uncomment the [extension=curl] option; 2. Move the libssh2.dll file in the php directory to the apache installation directory bin directory; 3. Finally, restart apache.

What to do if php cannot use curl

First remove the semicolon before extension=curl in the php.ini configuration file;

(Recommended tutorial: php Graphic tutorial)

Then put the libssh2.dll file in the php directory into the bin directory of the apache installation directory; (I am using wamp, use curl prompt not define, copy this file It will be solved after getting to apache)

(Video tutorial recommendation: php video tutorial)

Finally restart apache.

The above is the detailed content of What to do if php cannot use 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