Solve the problem of cURL module in PHP 5.6.11!
Aug 10, 2016 am 08:49 AMI followed the online tutorial and wrote a small example of cURL. When I executed it in the apache environment, there was no response at all. But when I put it in the IIS environment, it was ok. I feel that the problem must be with the dynamic link library because php_curl in the configuration file. The dll has been opened and is ok on iis;
I found some solutions online:
-----------------------------
Set [environment variables]: phpext, PHPRC; invalid
Put php_curl.dll under apache/bin; invalid
I checked that there are also these two libeay32.dll
, <span style="color: #0000ff;"><strong>ssleay32.dll</strong></span> files in the apache/bin directory; no problem
I finally tried it, put the libssh2.dll in the current php root directory into the apache/bin directory, restarted apache, OK, finally saw the curl in phpinfo Once the module information is obtained, the program can naturally run.

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)
