Solution to the CURL module problem in PHP 5.6.11: 5.6.11curl
According to the tutorial on the internet, I wrote a small example of cURL. If it is executed in the apache environment, there is no response at all. If it is placed in the IIS environment, it will be OK. I feel that the problem must be in the dynamic Connection Library, because the php_curl.dll in the configuration file has been opened and is OK on iis;
I found some solutions online:
Set [environment variable]: phpext, PHPRC; invalid
Put php_curl.dll under apache/bin; invalid
Check that the apache/bin directory contains the two libeay32.dll and ssleay32.dll files. No problem.
Finally, I tried to put libssh2.dll under the current php root directory under the apache/bin directory, restarted apache, OK, and finally saw the curl module information in phpinfo, the program can also run.
The above section describes how to solve the CURL module problem in PHP 5.6.11. I hope it will be helpful to you. If you have any questions, please leave a message for me, the editor will reply to you in a timely manner. Thank you very much for your support for the help House website!