I am a HUGE novice with this, and I have spend a whole day and a night trying to fix this. I know this has been asked before, but I have tried everything in those answers as well as from all over the Internet, nothing works :-(
So I thought I will seek help here.
My problem is:
- I have a Linux box that is an
EC2 machine
- When I do a
cat /etc/redhat-release
it saysFedora release 8 (Werewolf)
- When I do a
php -v
it saysPHP 5.2.6
- I need to upgrade from
PHP 5.2.6 to >= PHP 5.3
What I have tried so far:
I read some articles and deleted the current PHP using:
yum remove php
yum remove php-common
yum remove php-cli
All of these commands worked successfully, but when I did a yum info php
it still said PHP 5.2.6
is installed!
Undaunted by this, I downloaded the PHP 5.3 rpms
from http://rpms.famillecollet.com/archives/fedora/8/remi/i386/repoview/
using
rpm -Uvh http://rpms.famillecollet.com/archives/fedora/8/remi/i386/php-5.3.8-1.fc8.remi.i386.rpm
rpm -Uvh http://rpms.famillecollet.com/archives/fedora/8/remi/i386/php-cli-5.3.8-1.fc8.remi.i386.rpm
rpm -Uvh http://rpms.famillecollet.com/archives/fedora/8/remi/i386/php-common-5.3.8-1.fc8.remi.i386.rpm
Each of these rpm install commands worked successfully. Then I did
yum upgrade php
and the system said:
...
Setting up Upgrade Process
No Packages marked for Update
Next, I tried yum install php
and the system said:
...
Setting up Install Process
Parsing package install arguments
Package matching php-5.2.6-2.fc8.i386 already installed. Checking for update.
Nothing to do
php -v
still says 5.2.6
. How can I upgrade to php 5.3
?
Any pointers are very much appreciated!