I am using debian squeeze and install PHP with apache2.
When I put the PHP file in root website, it can run normally. However when put the PHP file in user website (path http://domain/~peter/test.php), it could not be run and the browser asks me to save the file. Why is that?
I tried to put the line "AddType application/x-httpd-php .php .php" inside the .conf but still not work. Anything I get wrong? Please help and thanks.