If you receive an “No input file specified” error message, for an HTTP request made a non-existing .PHP file, then you probably have no Request Restrictions configured in IIS’ PHP handler settings. Here is how to resolve this no input file specified error in IIS for PHP…
In IIS Manager, open up the Handler Mappings under your server node. Scroll down to Name PHP, or Path
*.php, and double click to open up its properties. See the image below.
Click Request Restrictions to get the following screen where you can configure and set handler mappings:
Psst, want to know how to properly configure PHP on IIS?
If I’ve helped you out and you want to thank me, why not buy me a coffee?
Thank you for your support.