I was having php5.3 and httpd2.2 on my instance. Now I need to upgrade to php 5.4.
I am following these instructions :
http://codingsteps.com/install-apache-2-4-php-5-4-php-apc-on-amazon-ec2-with-amazon-linux/
I have sudo yum remove
all the conflicts and now the remaining two are:
Error: httpd24-tools conflicts with httpd-tools-2.2.29-1.4.amzn1.x86_64
Error: httpd24 conflicts with httpd-2.2.29-1.4.amzn1.x86_64
But if I run for example :
[ec2-user@ip-172-31-44-86 ~]$ sudo yum install -y httpd24 php54
...
--> Finished Dependency Resolution
Error: httpd24-tools conflicts with httpd-tools-2.2.29-1.4.amzn1.x86_64
Error: httpd24 conflicts with httpd-2.2.29-1.4.amzn1.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[ec2-user@ip-172-31-44-86 ~]$
EDIT : I am trying to remove them :
sudo yum remove httpd-tools-2.2.29-1.4.amzn1.x86_64
But I get that :
Loaded plugins: priorities, update-motd, upgrade-helper
No Match for argument: httpd-tools-2.2.29-1.4.amzn1.x86_64
No Packages marked for removal
What should I do?
This might be a day late and a dollar short but this worked for me.
sudo yum remove httpd* php*
sudo yum install httpd24 php54
https://forums.aws.amazon.com/thread.jspa?messageID=465912
You have to remove your old version of httpd
prior to installing the new version.
yum remove httpd-tools-2.2.29-1.4.amzn1.x86_64 httpd-2.2.29-1.4.amzn1.x86_64
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With