How to install curl extension in php under win7

王林
Release: 2023-03-12 20:42:01
Original
2209 people have browsed it

How to install the curl extension in PHP under win7: 1. Edit the php.ini configuration file and enable the extension=php_curl.dll option; 2. Copy the libeay32.dll file to the system32 directory; 3. Restart apache.

How to install curl extension in php under win7

The operating environment of this article: windows7 system, php7, thinkpad t480 computer.

The specific steps to install the curl extension for PHP under Windows 7 system:

1. Edit the php.ini configuration file and enable extension=php_curl .dll option

Remove the semicolon; before ;extension=php_curl.dll in php.ini

How to install curl extension in php under win7

2. Move the libeay32.dll, ssleay32.dll, and libssh2.dll files under the php folder into the windows/system32, or windows/syswow64 folder;

3. Restart Apache.

Use the phpinfo() function to return information about PHP configuration. You can see:

How to install curl extension in php under win7

ok, the curl extension is installed successfully!

Recommended learning: php training

The above is the detailed content of How to install curl extension in php under win7. 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
Popular Tutorials
More>
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!