Installing PhP Hanging on Ubuntu Amazon EC2

Im new to Amazon Ec2 and I am not an expert, after I set my blog to Word blog I found that user comments are off, possibly because I need to enable PhP Curl on the server (Im guessing) ... I need help on how to do this and I would really appreciate it if you could explain it in detail so that I can help myself as a beginner. I really appreciate your help :) Im Mac AMI user: bitnami-wordpress-3.3-2-linux-x64-ubuntu-10.04-ebs (ami-6938ed00)

+3


source to share


2 answers


You can install PHP-curl using command

sudo apt-get install php5-curl



Also you may need to enable it in php.ini if โ€‹โ€‹it is commented with; (semicolon) in it.



+8


source


BitNami WordPress uses its own PHP version which already includes curl (not ubuntu PHP). If you run /opt/bitnami/php/bin/php -m

, you will see a curl in the list of loaded modules.



sudo apt-get install php5-curl

will install curl in the system php that is not the php your WordPress installation is using (from BitNami).

+1


source







All Articles