Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 am running CentOS i need to compile and install PHP 5 there but i never done this before is this still possible or i need to find someone to do it for me?

There is already installation of PHP 4 and site running on it, my major problem is how can i import settings from php 5.1.6 into php 5.3.6 prior to compilation or after please advice!

share|improve this question

Try out some of the pre-packaged php 5.3 RPMs:

If you need to recompile with some specific options, his SRPMs are a good starting point.

share|improve this answer
I need "ZIP" extension so far i read for CentOS you can use "yum install php" or "yum update php" but my questiona bout old options is still open – Hellokitty May 26 '11 at 22:03
You need to download a SRPM, such as this: You will then edit the .spec file and add your needed compile options. – dmourati May 26 '11 at 23:24

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.