Jayela Jayela - 3 months ago 13
PHP Question

Install PHP cURL on Amazon EC2 Micro Instance

I need to install PHP cURL on my Amazon EC2 Micro Instance.

I found a terminal code which should install PHP cURL through PuTTY.

sudo apt-get install php5-curl


But I get a lot of
403 Forbidden
errors.

I'm not good with Linux so I didn't really understand what those errors mean.

This is a screenshot of all the errors.


Answer

the 403 is from the source repository,

Try

sudo-apt-get update

before the install. If that still doesn't fix it, add these lines to the /etc/apt/sources.list

deb http://us.archive.ubuntu.com/ubuntu lucid main multiverse universe
deb http://us.archive.ubuntu.com/ubuntu lucid-security main multiverse universe
deb http://us.archive.ubuntu.com/ubuntu lucid-updates main multiverse universe