How to enable curl_init in php under windows

WBOY
Release: 2016-07-25 09:07:07
Original
1261 people have browsed it
When testing simulated login, the prompt is: "Call to undefined function curl_init". Why does it prompt: There is no defined function? The reason is that php does not open support for the curl_init function.

When testing simulated login, the prompt is: "Call to undefined function curl_init". Why does it prompt: There is no defined function? The reason is that php does not open support for the curl_init function.

Solution: 1. Open php.ini and enable extension=php_curl.dll 2. Check which directory the extension_dir value of php.ini is, and check whether there is php_curl.dll. If not, please download php_curl.dll, and then copy libeay32.dll and ssleay32.dll in the php directory to c:windowssystem32.



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