Home  >  Article  >  Backend Development  >  Solution to Call to undefined function curl_init

Solution to Call to undefined function curl_init

WBOY
WBOYOriginal
2016-07-25 08:51:561060browse
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.



Statement:
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