我的网站和服务器出现了问题(DEBIAN 8)。
我有一个错误:
致命错误:在/var/www/example.pl/public_html/ajax.php中调用未定义的函数curl_init()
我检查过我有卷曲,是的:
root@Debian-84-jessie-64-minimal ~ # apt-get install curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
curl is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
问题出在哪里?
答案 0 :(得分:0)
转到php.ini文件并删除;从一开始就标记 以下一行:
;extension=php_curl.dll
然后它会是这样的: -
extension=php_curl.dll
答案 1 :(得分:0)
可能已安装Curl,但您仍需要启用php的curl扩展名。
转到php.ini文件并取消注释:'extension = php_curl.dll'
答案 2 :(得分:0)
你需要打开一个名为'curl'的php扩展模块