troubleshooting Question

Upgrading to PHP 5.2.x on FC5?

Avatar of jen_jen_jen
jen_jen_jen asked on
PHPLinux Distributions
4 Comments1 Solution920 ViewsLast Modified:
I'd really like to upgrade my version of php.  I just want to make sure that the process outlined below is the correct way to do it on a server running FC5.

Step One:
-----------------------------------------------------------------------------------------------------------------------------
rpm -e php php-pear php-pdo php-gd php-mysql

Step Two:
-----------------------------------------------------------------------------------------------------------------------------
rpm -ivh http://rpms.famillecollet.com/fc5.i386/php-common-5.2.8-1.fc5.remi.i386.rpm
rpm -ivh http://rpms.famillecollet.com/fc5.i386/php-cli-5.2.6-1.fc5.remi.i386.rpm
rpm -ivh http://rpms.famillecollet.com/fc5.i386/php-5.2.6-1.fc5.remi.i386.rpm
rpm -ivh http://rpms.famillecollet.com/fc5.i386/php-pdo-5.2.8-1.fc5.remi.i386.rpm
rpm -ivh http://rpms.famillecollet.com/fc5.i386/php-mysql-5.2.8-1.fc5.remi.i386.rpm
rpm -ivh http://rpms.famillecollet.com/fc5.i386/php-pear-1.7.1-1.fc5.remi.noarch.rpm
rpm -ivh http://rpms.famillecollet.com/fc5.i386/php-pgsql-5.2.6-1.fc5.remi.i386.rpm
rpm -ivh http://rpms.famillecollet.com/fc5.i386/php-imap-5.2.6-1.fc5.remi.i386.rpm
rpm -ivh http://rpms.famillecollet.com/fc5.i386/php-mbstring-5.2.6-1.fc5.remi.i386.rpm
rpm -ivh http://rpms.famillecollet.com/fc5.i386/php-gd-5.2.6-1.fc5.remi.i386.rpm
rpm -ivh http://rpms.famillecollet.com/fc5.i386/php-xml-5.2.6-1.fc5.remi.i386.rpm

Step Three:
-----------------------------------------------------------------------------------------------------------------------------
apachectl graceful


Is there anything missing?  Will this work?  When I ran rpm -qa | grep php, it came back with this:

psa-php5-configurator-1.1.0-fc5.build81061129.23
php-pgsql-5.1.6-1.6
php-imap-5.1.6-1.6
php-pdo-5.1.6-1.6
php-gd-5.1.6-1.6
php-mbstring-5.1.6-1.6
php-xml-5.1.6-1.6
php-pear-1.4.9-1.2
php-5.1.6-1.6
php-mysql-5.1.6-1.6

ASKER CERTIFIED SOLUTION
amnonnes

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros