14

I have Amazon Linux on EC2, AMI 2013.09. I followed the LAMP install tutorial, http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-LAMP.html, and ended up with PHP5.3 installed.

In answer to this question here, Amazon Linux Version Details, ceejay0z explains that I can upgrade to PHP5.5 using yum install php55. When I do, however, I get errors relating to conflicts (at the end of dependency checking).

So, my question is, how do I proceed from here? Do I want to erase the existing PHP install, then install the new one? Upgrade? Update? Update-to? (In case it's not obvious, I have not used yum before...)

DatsunBing
  • 459
  • 4
  • 7
  • 17

2 Answers2

23

Worked for me:

yum remove php httpd php-cli php-xml php-common httpd-tools
yum install php55 php55-mysql php55-pdo
Benubird
  • 523
  • 1
  • 5
  • 11
0

OK, so I seem to have got this working. Not 100% sure how, but I think I had to erase php and httpd, then install php55. Not sure if I had to install httpd24 separately?

DatsunBing
  • 459
  • 4
  • 7
  • 17