2009-10-16 154 views
1

我有我的服務器每晚進行yum更新。昨天晚上,它將suPHP更新到最新版本: Oct 16 01:25:43 Updated: mod_suphp-0.7.1-1.el5.art.x86_64suPHP升級導致500內部服務器錯誤

此更新導致我的網站拋出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" 

我正在使用原子火箭烏龜回購。

回答

1

我修好了。下面一行不推薦使用,所以我只好刪除它: handle_userdir=true

相關問題