网站打开提示No input file specified解决方法
当网站打开提示"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. 重新访问网站验证问题是否解决。
最新打赏
