Apache2 won't serve php5 in home directory, need advice
Running Ubuntu 10.04
Installed apache2 and php5 and it works in /var/www but once I point it to a home directory it won't serve php. Normally I have used phpcgi but I am currently trying to use regular php. Here is my default file. Any suggestions of what I might be doing wrong would be much appreciated. Code:
<VirtualHost *:80> |
Is php5 being loaded? What do your access and error logs show for attempting to hit the php file?
|
Yes php5 is running as it works in /var/www
When I hit a php page the browser downloads it instead of parsing it and there are no errors in the logs |
Nevermind I am dumping Ubuntu and going to Debian.
|
heh, typically you don't setup a vhost for each person you want to have a user dir...
you just enable mod_userdir and UserDir public_html UserDir disabled root There is really not a huge difference between debian apache2 and ubuntu apache2... although for servers I far favor debian, for desktops, ubuntu. |
All times are GMT -5. The time now is 04:34 PM. |