On 10-08-14 10:16 PM, Mike Pfaiffer wrote:
I tried to display a PHP test file and ran into problems. It seems it only works fine in the system directory but not for users. This is the same problem I was having with OS X (10.4) last year. It wants to send the file as a download. The documentation I've read today seems to be out of date and makes some assumptions. For example, that I'm running Windows, the software isn't already there. That sort of thing. Even the documentation from Canonical wasn't very helpful (I spent most of the day reading the 8.04 documentation without realising it). They also assumed I had to download the software even though it was on their ISO. I know I'm missing a setting somewhere. Probably in the /etc/apache2/apache2.conf file. It probably has to be a 30 second fix. Would someone happen to know it off the top of their head?
Try a2enmod php5
I'd like to set up Python as well. The language is installed. I want to hold off installing it until I can get PHP working. If someone could point me to some documentation for that too it will help a lot.
apt-cache search mod_python
a2enmod
All the best, Robert