Home >Backend Development >PHP Problem >How to install and configure curl in php
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.
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!