Wednesday, July 05, 2006

Install apache2 and php on Dapper

To install and configure properly php for apache on dapper, you have to install the software:

sudo apt-get install apache2 libapache2-php5

The problem is that the php plugin is not enabled. To enable it, you have to run the command

sudo a2enmod php5

And restart the server:

sudo /etc/init.d/apache restart