Ubuntu环境下,项目出现:Call to undefined function curl_init() 提示

原因:

没有开启curl扩展

安装或者开启扩展

ubuntu 执行安装Curl的扩展

sudo apt-get install -y php-curl 

同:

mysql,redis,curl,等。

转自:https://www.cnblogs.com/bing-yu12/p/7617028.html

原文地址:https://www.cnblogs.com/feiquan/p/10958294.html