Fastcgi + php prompt Noinputfilespecified. how can I solve the problem that other php on the server can run,
Reply to discussion (solution)
The log should contain more information. it is estimated that the permission for the newly created file is incorrect, and the process cannot access the file.
Directory permission issues.
Have you used htaccess?
RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]
Have you used htaccess?
RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]
There is no such file, and I have tried it. even if there is such a file, there will be no 404. thinkphp has studied it some time ago. even if we see this code,
I use iis, so htaccess is invalid.
None of the above,
Only php files cannot be accessed. other files such as html, jpg, and gif can be viewed normally.
The log access path is the same as what you see. there is no htaccess, and the httpd. ini file
Find the solution
Open the php. ini file. you can see how you configured it.
In the php. ini file, modify:
1. add a row (this is the most important)
Fastcgi. impersonate = 1 // you can just remove this comment. The following two have been set.
2. modify the two items (Unlock the comments)
Cgi. fix_pathinfo = 1
Cgi. force_redirect = 0