码迷,mamicode.com
首页 > Web开发 > 详细

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

时间:2017-10-01 13:37:22      阅读:149      评论:0      收藏:0      [点我收藏+]

标签:没有   apt-get   logs   apt   red   undefined   efi   nbsp   ubuntu   

原因:

没有开启curl扩展

 

安装或者开启扩展

 

ubuntu 执行安装Curl的扩展

 

sudo apt-get install -y  php-curl 

同:

 mysql,redis,curl,等。

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

标签:没有   apt-get   logs   apt   red   undefined   efi   nbsp   ubuntu   

原文地址:http://www.cnblogs.com/bing-yu12/p/7617028.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!