Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm attempting to upgrade php from the centos default of 5.1.6 to 5.3.8 out of the Atomic repo, but when doing so, yum wants mysql to upgrade from 5.0 to 5.1, saying that php-mysql-5.3.8-1.el5 is dependant on mysql 5.1 (

Is there any way to keep these packages in the package manager, or is this just a unavoidable facet of yum/rpms? will we need to compile php/mysql from source? This is a box running plesk parallels management 9, if that makes a difference, though to my knowledge, it shouldn't.


share|improve this question

Normally no one will compile php in a Plesk server. You can disable atomic repo and install php 5.3 using the php53 packages provided in the default centos repo itself. Note that the php version is 5.3.3 and you can use the default packages if that will work for you.

share|improve this answer

take the src.rpm they provide and build that on your box like

rpmbuild -ba php.spec

That will build php 5.3.8 rpms for your version of mysql

share|improve this answer
are you referring to srpms provided by atomic? I'm still looking but having trouble finding them. (nevermind, I found them) – steve c c Sep 22 '11 at 2:04
I guess is what you are looking for. – SparX Sep 22 '11 at 2:14
sorry for the noob questions, but installing this wouldn't do anything about all the extensions the client has installed, would it? e.g. php-xml-5.1.6-27.el5_5.3 even if I used rpmbuild to create the proper rpms, wouldn't there still be complaints about dependencies? Especially because there seem to be a lot of plesk rpms that depend on php. – steve c c Sep 22 '11 at 2:56
the spec file once built will build all the php-* files you already have on your system – Mike Sep 22 '11 at 5:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.