[英]curl_init() error Uncaught Error: Call to undefined function
why I always get Uncaught Error: Call to undefined function curl_init(). 为什么总是出现未捕获的错误:调用未定义函数curl_init()。 I have set extension:php_curl in php.ini and install php-curl too.
我在php.ini中设置了extension:php_curl并安装了php-curl。 but not working.
但不起作用。 .
。 everyone help me?
大家都帮我吗
Install curl 安装卷发
sudo apt-get install php-curl
if you are using php 7 如果您使用的是PHP 7
sudo apt-get install php7.0-curl
and restart server 然后重启服务器
sudo service apache2 restart
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.