Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I've just compiled and installed apache 2.4 on my debian squeeze machine. It was the first time I've compiled it on my own. My next step should be installing mod_php for the server. Now I was thinking if I MUST compile php on my own with all the related stuff like imap, mysql etc. or if I can install the php stuff via apt and just copy the related files into my apache2/modules folder. Can somehow give me a little hint on this procecdure?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

If you used the CGI version of PHP, then you would not need to re-compile. Since you want to use mod_php you need re-compile PHP, and PHP modules, any other Apache modules, and basically anything that links into Apache/PHP.

share|improve this answer
    
ok thanks :) so I will consider if this will be worth all the work^^ –  soupdiver Mar 2 '12 at 18:48

Your Answer

 
discard

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.