Updating PHP in RHEL/CentOS 5.6 for WordPress 3.2
Try doing yum install php53 on a RHEL 5.6/CentOS 5.6 system, and see the following:
--> Finished Dependency Resolution php53-common-5.3.3-1.el5_6.1.x86_64 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 package-cleanup --dupes rpm -Va --nofiles --nodigest
Not pleasant right? Seems the only workaround is to issue a yum remove php php-cli php-common, watch the dependencies and reinstall everything. The only thing that seems to be missing? php53-tidy.
Restart Apache (service httpd restart). Update WordPress. If you miss on restarting the web server, it won’t detect the newer PHP install and WordPress will just show you a magical message as follows: “You cannot update because WordPress 3.2.1 requires PHP version 5.2.4 or higher. You are running version 5.1.6.”
Nice work, thanks, I think it might be eAccelerator causing an issue also…Â
I had to remove it to get php53 to install.Â
I tried reinstalling it again after and got the following:
Loaded plugins: fastestmirror, prioritiesLoading mirror speeds from cached hostfile * addons: mirror.bytemark.co.uk * base: mirror.bytemark.co.uk * extras: mirror.bytemark.co.uk * updates: mirror.bytemark.co.uk157 packages excluded due to repository priority protectionsSetting up Install ProcessResolving Dependencies–> Running transaction check—> Package php-eaccelerator.i386 1:0.9.5.2-2.el5 set to be updated–> Processing Dependency: php-zend-abi = 20050922 for package: php-eaccelerator–> Running transaction check—> Package php-common.i386 0:5.1.6-27.el5_5.3 set to be updated–> Processing Conflict: php53-common conflicts php-common–> Finished Dependency Resolutionphp53-common-5.3.3-1.el5_6.1.i386 from installed has depsolving problems –> php53-common conflicts with php-commonError: php53-common conflicts with php-common You could try using –skip-broken to work around the problem You could try running: package-cleanup –problems            package-cleanup –dupes            rpm -Va –nofiles –nodigestThe program package-cleanup is found in the yum-utils package.
Epic Fail.
Clearly eAccelerator is still depending on an old package. Needs updating….
I have problem with centos server!