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 感谢大佬分享

posted @ 2019-03-18 10:20  泥土里的绽放  阅读(541)  评论(0编辑  收藏  举报