Solution to CURL module problem in PHP 5.6.11_php example

WBOY
Release: 2016-08-17 13:02:33
Original
1133 people have browsed it

I 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 files libeay32.dll and ssleay32.dll in the apache/bin directory; no problem

I finally tried it, put libssh2.dll in the current php root directory in the apache/bin directory, restarted apache, OK, I finally saw the curl module information in phpinfo, and the program can naturally run

The above is the solution to the CURL module problem in PHP 5.6.11 introduced by the editor. I hope it will be helpful to you. If you have any questions, please leave me a message and the editor will reply to you in time. I would also like to thank everyone for your support of the Script House 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