First Sorry by me english.
“input file not specified” is 100% asociated with PHP CGI installation.
is related to 404 Not Found Status. You can fix the problem in Apache .htaccess file. use the next code
### fix para “no input file especified”
RewriteEngine On
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f
RewriteRule ^.+\.php$ /error_/thisfiledontexists
###
Of course you need “mod_rewrite” enabled, in the sample “thisfiledontexist”, in fact, must be a inexistent file.
Also you can customize the error page :
ErrorDocument 404 /not_found.php