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

Call to undefined function curl_init(),undefinedcurl_init

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB原创
2016-06-16 09:16:44972浏览

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即可

 

 

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn