久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

在 IIS7 集群上運行的 PHP 上調(diào)試 500 內(nèi)部服務器錯

Debugging 500 Internal Server Error on PHP running on IIS7 cluster(在 IIS7 集群上運行的 PHP 上調(diào)試 500 內(nèi)部服務器錯誤)
本文介紹了在 IIS7 集群上運行的 PHP 上調(diào)試 500 內(nèi)部服務器錯誤的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

最近我的 ISP 將我們的網(wǎng)站切換到 IIS7.0 高可用性集群.該網(wǎng)站在 PHP5.2.1 上運行,我只能上傳文件(因此沒有注冊表調(diào)整).我之前測試過該網(wǎng)站,一切似乎都在運行,但現(xiàn)在結(jié)帳頁面失敗了:

<塊引用>500內(nèi)部服務器錯誤.您要查找的資源有問題,無法顯示.

隨著錯誤消息的出現(xiàn),這不是很有用.我試過了:

ini_set('display_errors', 1);ini_set('error_log', $file_php_can_write_to );

但兩者似乎都沒有做任何事情.

有人知道如何獲得更好的調(diào)試輸出嗎?

解決方案

Edit : 看起來我們有一個 serverfault 中的類似問題.檢查一下

關(guān)閉 IIS7 自定義錯誤將允許將來自您的應用程序的錯誤響應發(fā)送到遠程客戶端,而不會被 IIS7 的自定義錯誤模塊審查.

您可以通過運行開始>運行>inetmgr.exe"從 IIS7 管理工具執(zhí)行此操作,在左側(cè)樹視圖中選擇您的網(wǎng)站/應用程序/虛擬目錄,單擊錯誤頁面"圖標,單擊編輯功能設置"操作,然后選擇詳細錯誤"

來源

Recently my ISP switched our website to an IIS7.0 high availibility cluster. The website is running on PHP5.2.1 and I can only upload files (so no registry tweaks). I had tested the website before and everything seemed to be working, but now the checkout page fails with:

500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed.

As error messages go, this isn't very informative. I've tried:

ini_set('display_errors', 1);
ini_set('error_log', $file_php_can_write_to );

but both don't seem to do anything.

Anyone know how to get better debugging output?

解決方案

Edit : Looks like we have a similar question in serverfault. Check it out

Turning off IIS7 custom errors will allow error responses from your application to be sent to remote clients without being censored by the IIS7’s custom errors module.

You can do this from the IIS7 Admin tool by running "Start>Run>inetmgr.exe", selecting your website/application/virtual directory in the left-hand tree view, clicking on the "Error Pages" icon, clicking "Edit Feature Settings" action, and then selecting "Detailed Errors"

Source

這篇關(guān)于在 IIS7 集群上運行的 PHP 上調(diào)試 500 內(nèi)部服務器錯誤的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

相關(guān)文檔推薦

Joining 2 tables in SELECT(MYSQL/PHP)(在 SELECT(MYSQL/PHP) 中加入 2 個表)
How to make lt;option selected=quot;selectedquot;gt; set by MySQL and PHP?(如何使lt;option selected=“selectedgt;由 MySQL 和 PHP 設置?)
Auto populate a select box using an array in PHP(使用 PHP 中的數(shù)組自動填充選擇框)
PHP SQL SELECT where like search item with multiple words(PHP SQL SELECT where like search item with multiple words)
json_encode produce JSON_ERROR_UTF8 from MSSQL-SELECT(json_encode 從 MSSQL-SELECT 產(chǎn)生 JSON_ERROR_UTF8)
MySQL ORDER BY rand(), name ASC(MySQL ORDER BY rand(),名稱 ASC)
主站蜘蛛池模板: 午夜成人免费视频 | 激情欧美一区二区三区中文字幕 | 中文在线一区二区 | 久久久久久久久久久久一区二区 | 成人在线观 | 日韩欧美亚洲 | 激情五月婷婷在线 | 成人一区av| 91免费版在线观看 | 日韩精品 电影一区 亚洲 | 男人的天堂视频网站 | 一级看片免费视频囗交动图 | 精品自拍视频 | 成人水多啪啪片 | 成人免费看片 | 91视频一区二区三区 | 色接久久 | 91久久夜色 | 在线观看av网站 | 精品国产一区二区三区久久久四川 | 日韩欧美国产成人一区二区 | 日日天天 | 日日操夜夜操视频 | 欧美精品久久 | 欧美二区三区 | 欧美精品网 | 欧美h| 日韩有码一区 | japan25hdxxxx日本 做a的各种视频 | 蜜桃视频在线观看免费视频网站www | 四虎影视1304t | 精品国产欧美一区二区三区成人 | 精品伊人久久 | 金莲网 | 欧美久久一区二区 | julia中文字幕久久一区二区 | 色999日韩| 日韩欧美在线视频 | 97人澡人人添人人爽欧美 | 亚洲成人精品一区二区 | 国产99小视频 |