ksmatthews Posted January 7, 2012 Share Posted January 7, 2012 Hi All, I usually use apache virtual domains for all web development. Today however I have enabled 'user web pages' using the following directive UserDir public_html and by enabling mods-available/userdir.conf. After re-starting apache I can now access web pages in my home dir using for example ... http://localhost/~steven/test/myfile.html UNFORTUNATELY I cannot run any php scripts like ... http://localhost/~stevenm/test/index.php only the plain non - interpreted text is displayed but running php in my virtual domains works OK. Why is my PHP not working for localhost ? regards, Steven M Link to comment https://forums.phpfreaks.com/topic/254555-apache-localhost/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.