在Ubuntu Amazon EC2上安装PhP curl [英] Installing PhP curl on Ubuntu Amazon EC2
问题描述
我是Amazon Ec2的新手,我是 NOT AN EXPERT,在我安装文字新闻博客后,我发现用户的Facebook评论被禁用,可能是因为我需要在服务器上启用PhP Curl(Im猜测)。我需要有关如何执行此操作的帮助,如果您详细解释它,我将不胜感激,以便我作为初学者为自己提供帮助。
我真的很感谢您的帮助:)
我是Mac用户
AMI:bitnami-wordpress-3.3-2-linux-x64-ubuntu-10.04-ebs(ami-6938ed00)
Im new to Amazon Ec2 and I'm 'NOT AN EXPERT', after I installed my word-press blog I found that Facebook comments of users are disabled, May be because I need to enable PhP Curl on the server (Im guessing). I need a help on how to do that please, and I would really appreciate if you explain it in details so I can help my self as a beginner. I really appreciate your help :) Im Mac user AMI: bitnami-wordpress-3.3-2-linux-x64-ubuntu-10.04-ebs (ami-6938ed00)
推荐答案
您可以使用命令
安装PHP-curl sudo apt-get install php5-curl
另外,您可能必须在php中启用它.ini(如果在其中使用;(分号)进行注释)。
You can install PHP-curl using the command
sudo apt-get install php5-curl
Also you may have to enable it in php.ini if it is commented using ;(semicolon) in it.
这篇关于在Ubuntu Amazon EC2上安装PhP curl的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!