Home >php教程 >php手册 >Fatal error: Call to undefined function curl_init()解决方法

Fatal error: Call to undefined function curl_init()解决方法

WBOY
WBOYOriginal
2016-06-06 20:33:191969browse

Fatal error: Call to undefined function curl_init()解决方法

首先要确定php已经扩展
在php.ini中
代码如下:
extension=php_curl.dll

还要保证
php_curl.dll 复制到php安装目录下的ext下,libeay32.dll和ssleay32.dll复制到php安装目录下。(我的配置文件是system32,和php5ts.dll一个地)
记得重启Apache. 正解,over!
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