我將網站轉移到具有「服務器API = CGI/FastCGI」的新服務器(PHP版本5.3.8),除了一頁(public_html/user/index.php),網站工作正常。我得到了錯誤:500內部服務器錯誤 - register_globals
500內部服務器錯誤
然後,我改變了服務器API爲「Apache 2.0的處理程序」,現在我得到空白頁。 phpinfo()函數是向我展示了register_globals關閉
中的public_html /用戶的.htaccess /低於內容
#deny from all
#AddType application/x-httpd-php .html
#AddHandler x-httpd-php .html
#AddHandler x-httpd-php .htm
#AddType image/x-icon .ico
php_value display_errors On
#php_value register_globals On
php_value error_reporting E_ALL
#E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
舊服務器運行PHP版本5.2.8
任何建議?
這不一定是問題的根源。對於狀態500錯誤,請查看'error.log'。 – mario 2012-01-12 15:18:50