apache 配置网站出现问题 “No input file specified.”
方法一
请查看是否存在.user.ini文件,如果有,请删除
方法二
打开.htaccess 在RewriteRule 后面的index.php教程后面添加一个“?”
<IfModule mod_rewrite.c>
Options +FollowSymlinks -Multiviews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]
</IfModule>
方法三
将
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
改为RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1]
<IfModule mod_rewrite.c>
Options +FollowSymlinks -Multiviews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1]
</IfModule>
以上方法请挨个尝试