Hi,
I have just installed Apache2 and php5 on a ubuntu box. I've set up userdir to point to /home/*public_html so that I can test multiple websites on the server.
If I create a file e.g. index.php in the document root /var/www all is well but any .php file served out of a home diectory gets me this message:
Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
Fatal error: Unknown: Failed opening required '/home/lonetree/public_html/TMP7pt3hz.php' (include_path='.:/inc:./inc:../inc:../../inc:../../../inc:../../../../inc:/usr/share/php') in Unknown on line 0
I've been playing with config files for the last few days but have got the point where I don't know what else to try. Could you please advise me of what I should be looking for.
Many thanks