How to install the curl extension in php5.6: 1. Open the php.ini file; 2. Remove the semicolon in front of php_curl.dll; 3. Configure the curl extension library; 4. Restart Apache.
The operating environment of this article: windows7 system, php5.6 version, DELL G3 computer
How to install the curl extension for php5.6?
Solution to opening the curl extension library in PHP5.6.30
Open the php.ini file in the PHP installation directory, find the following content, and replace it with Remove the semicolon, and the result is as shown below.
PHP5.6.x configures the curl extension library. Check the official document
http://php.net/manual/zh/curl.installation.php
to find out.
Copy libssh2.dll in the php installation directory to the bin directory of apache, and restart Apache, so curl is opened successfully.
<?php phpinfo(); ?>
PHP video tutorial》
The above is the detailed content of How to install curl extension in php5.6. For more information, please follow other related articles on the PHP Chinese website!