1

我让我的服务器每晚执行一次 yum 更新。昨晚,它更新了 suPHP 到最新版本: Oct 16 01:25:43 Updated: mod_suphp-0.7.1-1.el5.art.x86_64

此更新导致我的网站引发 500 内部服务器错误。据我所知,我应该只需要更改我的 suphp.conf 文件中的最后两行以包含引号,我这样做了。但是重新启动 apache 后,我仍然收到错误 500。我的文件或目录都没有设置为 777,所以这也不是问题。有其他人知道最新的 suPHP 版本中发生了什么变化会导致我的配置不再工作吗?谢谢。这是我的 conf 文件现在的样子:

[global]
;Path to logfile
logfile=/var/log/suphp.log

;Loglevel
loglevel=warn

;User Apache is running as
webserver_user=apache

;Path all scripts have to be in
docroot=/

;Path to chroot() to before executing script
;chroot=/mychroot

; Security options
allow_file_group_writeable=false
allow_file_others_writeable=false
allow_directory_group_writeable=false
allow_directory_others_writeable=false

;Check wheter script is within DOCUMENT_ROOT
check_vhost_docroot=true

;Send minor error messages to browser
errors_to_browser=true

;PATH environment variable
env_path=/bin:/usr/bin

;Umask to set, specify in octal notation
umask=0022

; Minimum UID
min_uid=500

; Minimum GID
min_gid=500

; Use correct permissions for mod_userdir sites
handle_userdir=true

[handlers]
;Handler for php-scripts
;x-httpd-php=php:/usr/bin/php-cgi
php5-script="php:/usr/bin/php-cgi"

;Handler for CGI-scripts
x-suphp-cgi="execute:!self"

我正在使用原子火箭龟回购。

4

1 回答 1

2

我修好了它。不推荐使用以下行,所以我只需要删除它: handle_userdir=true

于 2009-10-17T18:22:31.123 回答