How to install and configure curl in php

青灯夜游
Release: 2023-03-09 07:52:01
Original
2712 people have browsed it

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 headerof;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!

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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!