Sorry Neil, disregard my advice as I now that I read your e-mail
*properly* I see you were making specific reference to the user dir!
Apologies for the noise everyone...
Mathew
On Wed, March 10, 2010 8:25 pm, Mathew Newton wrote:
Hi Neil,
On Wed, March 10, 2010 8:16 pm, Neil Perry wrote:
When I go to a PHP file in my user dir it
downloads the php file. The
html
index file seems to work fine.
Have you got Apache's PHP module installed and enabled?
As root, the following will sort it (or confirm if they are already):
apt-get install libapache2-mod-php5
a2enmod php5
(Then restart Apache with /etc/init.d/apache2 restart)
Without this module, Apache just sees them as text files and outputs the
content rather than interprets it.
Mathew