Solution to Call to undefined function curl_init

WBOY
Release: 2016-07-25 08:51:56
Original
1089 people have browsed it
Solution to Call to undefined function curl_init

Environment: windows php+apache

Error: Call to undefined function curl_init

Solution: First, open php.ini, find "extension=php_curl.dll", then remove the previous ";" comment and restart apache. If the problem persists, first check which directory the extension_dir value of php.ini is, and check whether there is php_curl.dll in that directory. If not, download php_curl.dll, and then copy libeay32.dll and ssleay32.dll in the php directory to c :windowssystem32, and then restart apache.



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