Home  >  Article  >  Backend Development  >  How to install and configure curl in php

How to install and configure curl in php

青灯夜游
青灯夜游Original
2021-03-29 10:27:482734browse

First copy the php_curl.dll, libeay32.dll and ssleay32.dll files in the PHP installation directory to system32; then open the php.ini file and remove the semicolon of ";extension=php_curl.dll"; Finally restart the php service.

How to install and configure curl in php

The operating environment of this tutorial: windows7 system, PHP7.1 version, DELL G3 computer

Install php_curl support under window

1. Copy the three files php_curl.dll (maybe in the ext folder), libeay32.dll, and ssleay32.dll under the PHP installation folder to system32;

2. Open php.ini (may be in the installation directory of the PHP environment, the default is in the c:\WINDOWS directory), and remove the semicolon from the header of ;extension=php_curl.dll;

3. Restart the php service (apache or IIS). If you restart IIS, just run iisreset.

Recommended learning: "PHP Video Tutorial"

The above is the detailed content of How to install and configure curl in php. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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