本文介绍了如何启用curl,安装Ubuntu LAMP堆栈?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我安装了ubuntu Lamp堆栈。但是curl没有启用,我也不能找到INI文件中列出的扩展名。
I have installed ubuntu Lamp stack. But the curl is not enabled, neither can I can find the extension listed in the INI file. I added manually but it didn't work either.
推荐答案
方案
从:
sudo apt-get install php5-curl
安装libcurl后,使用以下命令之一
After installing libcurl you should restart the web server with one of the following commands,
sudo /etc/init.d/apache2 restart
或 sudo service apache2 restart
这篇关于如何启用curl,安装Ubuntu LAMP堆栈?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!