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 have a centos5.5 server on which i want to host Magento. However i don't want to use a control panel but to do everything myself. The base repo on centos provides php 5.1.6 which is too old for the application to use.

If i download and compile from source the newest php, will i also have to install the newest apache and mysql? I wan't all the pieces to work well together. I am new at linux but i know enough to install these things from latest source. But say i install the new apache 2.2.17 which has document root at /usr/local/apache2/htdocs/ how do i tell php where that is, if you understand what i mean? Thanks for your help.

share|improve this question
See:… – mattdm Jan 13 '11 at 15:43

Why you don't install php from a updated repository? I use remi-enterprise.

share|improve this answer
i'd love to but is there a repo that has all the updated components apache, mysql and php... i dont want to mix and match. I tried ius but it only has php and mysql not apache. – samsunggalaxyss Jan 12 '11 at 10:14

PHP 5.x compatible with any version from apache or MySQL, I am now using the latest PHP with apache 2.2.x and MySQL 5.1.x with out any problems.

share|improve this answer

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.