Home > php教程 > php手册 > Fatal error:Call to undefined function curl_init() in ...错

Fatal error:Call to undefined function curl_init() in ...错

WBOY
Release: 2016-06-13 11:36:46
Original
1711 people have browsed it

出现了Fatal error: Call to undefined function curl_init() in D:\apache2\htdocs\SimpleStore.php on line 73 的这种错误

是PHP没有支持CURL导致的。

按以下步骤,别闲麻烦,要想解决问题就按烈火的方法做,基本可以解决:

1.把php_curl.dll 复制到php安装目录下的ext下

2.把libeay32.dll和ssleay32.dll复制到php安装目录下

3.把php_curl.dll、libeay32.dll、ssleay32.dll 复制到 %windir%/system32下

4.打开php.ini找到extension=php_curl.dll把前面的分号去掉

5.重启apache或IIS即可。

如果1、2已经就位,直接跳到第3、4、5步即可。

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