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.
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!