Home > php教程 > php手册 > Call to undefined function curl_init(),undefinedcurl_init

Call to undefined function curl_init(),undefinedcurl_init

WBOY
Release: 2016-06-16 09:16:44
Original
948 people have browsed it

Call to undefined function curl_init(),undefinedcurl_init

运行PHP不支持curl_init()的解决方法:

1.修改php.ini,将;extension=php_curl.dll前面的分号去掉(同时检查扩展的引用路径是否正确)
2.拷贝libeay32.dll、ssleay32.dll(E:\amp\php,PHP的安装目录)两个文件到System32(64位的机器是SysWOW64)目录
3.重启Apache即可

 

 

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 Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template