教程集 www.jiaochengji.com
教程集 >  脚本编程  >  php  >  正文 Call to undefined function curl_init的解决办法

Call to undefined function curl_init的解决办法

发布时间:2014-11-18   编辑:jiaochengji.com
Call to undefined function curl_init的解决办法

环境:
windows
php+apache

错误:Call to undefined function curl_init

解决办法:
首先,打开php.ini,找到“extension=php_curl.dll”,然后去掉前面的“;”注释,重启apache即可。
如果问题依旧,先检查php.ini的extension_dir值是哪个目录,在那个目录下检查有无php_curl.dll,没有则下载 php_curl.dll,再把php目录中的libeay32.dll和ssleay32.dll拷到c:\windows\system32下,然后重启apache即可。

您可能感兴趣的文章:
Call to undefined function curl_init的解决办法
windows下php开启curl_init的方法
php中出现:Call to undefined function curl_init()的解决方法
php:Call to undefined function curl_init()的解决方法
php使用curl函数提示Call to undefined function curl_init()
php提示:Call to undefined function curl_init
php连接mysql错误的配置方法介绍
php提示Fatal error: Call to undefined function openssl_x509_parse()
windows 下 php curl 的支持配置方法
Fatal error: Call to undefined function curl_init

[关闭]
~ ~