Did anybody upgrade already from 5.5 to 5.6 and replaced the "vm bleeding edge" 5.2 php version with the centos 5.3 version?
I did not upgrade yet. It will take some time before I will do so as I would first test it
Some folks in the Virtualmin IRC channel (on freenode over at #virtualmin) had mentioned they were now using CentOS 5.6 and PHP 5.3. But as Ronald said, I'd suggest doing plenty of testing first... PHP 5.3 has quite a few changes, and not all applications support it well quite yet.
If you don't have a dev server or some sort of test environment (such as running CentOS in a VirtualBox VM), now would be a great time to set one up, it'll help with testing :-)
I am not worried about PHP 5.3 compatibility :-) I am just wondering whether somebody did it already?
PHP 5.3 isn't in centos 5.6, I upgraded on 1 system to 5.6 with no errors but still running php5.2.11
CentOS 5.6 comes with a new package named "php53", which is PHP 5.3.3. It's not installed by default, but for folks who want it, it can be used to replace PHP 5.1.6 in the "php" package.
Cent 5.6. is Running without any problems.
The instalation of the php53 package gives a dependency error on php-common
[root@da-dev001 ~]# yum install php53
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.mirror.transip.nl
* extras: centos.mirror.transip.nl
* updates: centos.mirror.transip.nl
Setting up Install Process
--> Running transaction check
---> Package php53.i386 0:5.3.3-1.el5_6.1 set to be updated
--> Processing Dependency: php53-cli = 5.3.3-1.el5_6.1 for package: php53
--> Processing Dependency: php53-common = 5.3.3-1.el5_6.1 for package: php53
--> Running transaction check
---> Package php53-cli.i386 0:5.3.3-1.el5_6.1 set to be updated
---> Package php53-common.i386 0:5.3.3-1.el5_6.1 set to be updated
--> Processing Conflict: php53-common conflicts php-common
--> Finished Dependency Resolution
php53-common-5.3.3-1.el5_6.1.i386 from updates has depsolving problems
--> php53-common conflicts with php-common
Error: php53-common conflicts with php-common
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
rpm -Va --nofiles --nodigest
php53 conflicts with php, so it's unsurprising you also see conflicts in the -common packages.
For what it's worth, I found php53 unusable for SquirrelMail, so I ended up moving to php53u from IUS...
I removed PHP and installed PHP 5.3.
I don't use SquirrelMail. My test environment is running without any problems. (or I did'nt find them yet ;-) )
I updated to Centos 5.6. No problems so far. Next step will be to replace VM's php 5.2 with php 5.3.
Actually I decided that the PHP 5.2 version from the bleeding repo is good enough. I will postpone php 5.3 until Centos 6.0 (/6.1) is ready.
But the update to Centos 5.6 was very smooth.
How was the update to PHP 5.2?
This was part of VM installation
as a newbie, can i ask how to replace php with php53 safely? ( yes running on centos 5.6 )
I came to the conclusion that it is better not to install the official php 5.3 version on centos 5.6 (unless of course some extremely important software only runs on php53). It is better to to go with the virtualmin php 5.2 version. The main reason is basically that there is no official php53-pear package.
Any thoughts about this?
I just just installed VM on a fresh centos5.6 server. Exactly how do I upgrade php and mysql?? Is this done with VM or through the terminal. Normally i would just try it to see if it works but I am running out of time to get this done.
There's instructions on setting up Virtualmin's bleed repo, which includes PHP 5.2.x, available here: