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 (5.1.59-1.el5.art).

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.



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.


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

  • 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 www6.atomicorp.com/channels/source/php/php-5.3.8-1.art.src.rpm 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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