Information
PHP, MySQL, ASP
“No input file specified” when you type the URL in web browser. (e.g. http://localhost/)
- Details
- Category: PHP, MySQL, ASP
- Created on Saturday, 13 June 2009 09:35
- Last Updated on Saturday, 08 August 2009 11:47
- Published on Saturday, 13 June 2009 09:35
- Written by shiena
I have Apache and PHP installed, and I am getting this error “No input file specified” when I typed http://localhost in my web browser. To solve this make sure that php.ini & httpd.conf have the same directory name, see example below:
- for php.ini which is usually located at C:\PHP\ make sure that doc_root is the same as your DocumentRoot for httpd.conf, make not of the forward and backward slashes
doc_root = "E:\WEBSITES\"
- for httpd.conf which is usually located at C:\Program Files\......\Apache\
DocumentRoot "E:/WEBSITES"
<Directory "E:/WEBSITES">

