Morten's Blog


The random output of Morten André Steinsland

PHP not working on your virtual host?

Posted by Morten André on September 9, 2006 at 19:49. In the Tutorials category.
Tags : , , , ,

I was having problems getting php scripts to parse on some virtual hosts i set up on my Apache server. When i entered the address to the script in my browser, all i got was the sour message; “No input file specified“.

I searched long and hard on google for a solution, and finally found one after tedious reading of forums and articles. Now, im not really sure if this is the best way to solve this problem, or even the safest way. But it worked for me.

All i had to do was comment out the DOC_ROOT line in my PHP.INI file.

I haven’t encountered any bad side effects yet, but i take no responsibility for the safety of your server(s) if you decide to apply this solution.

Good luck :)

Powered by WordPress
Theme by Morten Andrè Steinsland
61 queries. 0.131 seconds.