Home  >  Article  >  Backend Development  >  How to install curl extension in php5.6

How to install curl extension in php5.6

藏色散人
藏色散人Original
2021-12-01 10:30:292240browse

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.

How to install curl extension in php5.6

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.
How to install curl extension in php5.6
PHP5.6.x configures the curl extension library. Check the official document
http://php.net/manual/zh/curl.installation.php
to find out.
How to install curl extension in php5.6
Copy libssh2.dll in the php installation directory to the bin directory of apache, and restart Apache, so curl is opened successfully.
How to install curl extension in php5.6
How to install curl extension in php5.6

<?php
  phpinfo();
?>

How to install curl extension in php5.6

## Recommended study: "

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!

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