如何启用curl,安装Ubuntu LAMP堆栈? [英] How to enable curl, installed Ubuntu LAMP stack?

查看:146
本文介绍了如何启用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.

推荐答案

方案

http: //buzznol.blogspot.com/2008/12/install-curl-extension-for-php-in.html

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堆栈?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆