网站打开提示No input file specified解决方法
详情摘要
【总结】网站提示"No input file specified.",多半是PHP配置文件出了问题。解决方法就是找到并删除根目录下的.user.ini文件,然后重启Web服务器,最后检查网站是否恢复正常。
当网站打开提示"No input file specified."时,通常是因为PHP配置文件.user.ini导致的。
解决步骤:
1. 检查根目录中的.user.ini文件(用FileZilla或FTP连接服务器,导航到网站根目录如/wwwroot/yourwebsite.com)
2. 删除.user.ini文件(或备份后删除:mv .user.ini .user.ini.backup)
3. 重启Web服务器:
# 重启Apache
sudo systemctl restart apache2
# 重启Nginx
sudo systemctl restart nginx4. 重新访问网站验证问题是否解决。
最新打赏
礼物榜 收到礼物 Top
