Error "No input file specified"


I am new here and moving my scripts from another server.

Some of my scripts have the following URL

It worked in my old server but here I get the error “No input file specified”.

I don’t understand the error message so I don’t know what to do. Is there something I can do?

And no, I must not change the URL, just the script or some settings.



I believe that this is due to DH using PHP via CGI


Under ‘drawbacks’ it says:

“Variables in the URL won’t work without using mod_rewrite (”

You can switch to PHP as Apache module, but there are some security implications. See above URL for more information on the risks, as well as how to switch.

Running PHP as Apache module, not CGI