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

I run apache2 with wsgi (for a django-app) on an ubuntu box. I want to use Nagios for server monitoring, and for this purpose it seems I have to add php support to apache.

When I installed apache2, I did this:

apt-get install apache2 apache2.2-common apache2-mpm-worker apache2-threaded-dev libapache2-mod-wsgi python-dev

What is the best way for me to add php support to apache2 without breaking my current installation and configuration?

share|improve this question
add comment

1 Answer 1

up vote 0 down vote accepted

just add the additional packages:

sudo apt-get install php5 libapache2-mod-php5
share|improve this answer
    
I'd add that if the installation is important enough to wring your hands in worry that things will break, having a good backup is probably a good idea...then if it did break you just restore the system. –  Bart Silverstrim Feb 3 '10 at 13:07
add comment

Your Answer

 
discard

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