PHP error No input file specified.

I received this error when changing the home virtual directory in IIS 6. The default location was at C:\inetpub\wwwroot and I changed it to E:\. This cause the No input file specified error. To fix it, I open the php.ini file and change the value of the doc_root variable. In my case, I set doc_root = E:\

Restart the server and all the php website work again.

Advertisements

No comments yet

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: