For When You Can't Have The Real Thing
[ start | index | login ]
start > CentOS > 4 > Updating to PHP 5

Updating to PHP 5

Created by dave. Last edited by dave, 16 years and 209 days ago. Viewed 3,967 times. #1
[edit] [rdf]
labels
attachments

Problem

I have a user who wants PHP 5 on our server.

Solution

This is a horrible problem. Advice on the mailing group is to rebuild apache and php from scratch and run that. Personally I'd prefer shooting the user, but since that generally frowned upon I got this to work using the delightfully useless centosplus repository:

# yum --enablerepo centosplus --exclude php-pecl-ssh2 --exclude php-eaccelerator --exclude php-pear-Image-GraphViz --exclude php-pear-PHPUnit2 install php php*

Commentary

ExclusionBecause
php-pecl-ssh2Missing Dependancy: libssh2
php-eacceleratorConflict with php-pecl-apc
php-pear-PHPUnit2Missing Dependancy: php-pecl(Xdebug)
php-pear-Image-GraphVizMissing Dependancy: graphviz
no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt