草庐IT

php - 任何导致内部服务器错误的 .php 文件

我服务器上的所有.php文件突然导致内部服务器错误。不知道有没有关系,更新yum的时候就开始了。即使是空白的.php文件也会导致错误。我已经移动了我所有的网站内容并只尝试了一个空的.php文件,但它仍然给出了同样的错误。也没有.htaccess文件。我该怎么办?=/(同一台服务器上的其他站点工作正常)Apache和php日志似乎没有更新。Apache的最后一个是从今天开始的,但没有与该问题相关的任何内容。PHP的最后一个来自APRIL更新我刚刚发现每个域都有自己的Apache日志。这是这个特定网站的内容[ThuJul2822:04:022011][error][client173.24

php - suexec 策略违规

我在PHP上开发了一个站点并使用iPage托管它。它工作正常,但今天我检查了该网站,它说:Theserverencounteredanunexpectedconditionwhichpreventeditfromfulfillingtherequest.Thescripthadanerrororitdidnotproduceanyoutput.Iftherewasanerror,youshouldbeabletoseeitintheerrorlog.错误日志说:20120423T060239:mydomain.com/file.phpsuexecpolicyviolation:sees

php - 完全删除 phpMyAdmin

关闭。这个问题是off-topic.它目前不接受答案。想改进这个问题吗?Updatethequestion所以它是on-topic用于堆栈溢出。关闭9年前。Improvethisquestion我使用apt-get命令分别安装了virtualmin和phpmyadmin。由于Virtualmin的安全设置(suexec),phpMyAdmin无法工作。当我访问mydomain.com/phpmyadmin时,它会下载整个PHP页面而不是执行它。我尝试禁用suexec但它没有用。所以现在我想删除phpMyAdmin。我使用apt-getremove命令删除了它,还删除了/etc/phpm

php - 完全删除 phpMyAdmin

关闭。这个问题是off-topic.它目前不接受答案。想改进这个问题吗?Updatethequestion所以它是on-topic用于堆栈溢出。关闭9年前。Improvethisquestion我使用apt-get命令分别安装了virtualmin和phpmyadmin。由于Virtualmin的安全设置(suexec),phpMyAdmin无法工作。当我访问mydomain.com/phpmyadmin时,它会下载整个PHP页面而不是执行它。我尝试禁用suexec但它没有用。所以现在我想删除phpMyAdmin。我使用apt-getremove命令删除了它,还删除了/etc/phpm

linux - Apache suexec "command not in docroot"

错误信息是:commandnotindocroot(/home/site1/cgi-bin/test.pl).Here我发现了这个:suexecrequirestheCGIscripttobeundertheserver'sDocumentRoot(nottheVirtualHostDocumentRoot).Itispermitted,however,fortheVirtualHostDocumentRoottobeasymlinktoadirectorythatappearsundertherealDocumentRoot.虚拟主机配置的一部分是:[...]DirectoryInd