Home  >  Article  >  Backend Development  >  How to install curl extension for php

How to install curl extension for php

王林
王林Original
2020-11-05 10:57:242496browse

How to install the curl extension for php: 1. Copy the php_curl.dll file to the system32 directory; 2. Edit the php.ini file and enable the php_curl.dell extension; 3. Restart apache or iis.

How to install curl extension for php

Install php_curl support under window

(Video tutorial recommendation: java video tutorial)

1. Copy the three files php_curl.dll (may be in the ext folder), libeay32.dll, ssleay32.dll under the PHP installation folder to %windir%/system32;

2. Open php .ini (may be in the installation directory of the PHP environment, the default is in the c:\WINDOWS directory), 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.

Related recommendations: php training

The above is the detailed content of How to install curl extension for 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