欧美一区二区三区老妇人-欧美做爰猛烈大尺度电-99久久夜色精品国产亚洲a-亚洲福利视频一区二区

php.ini中怎樣屏蔽所有的錯誤

這篇文章主要講解了“php.ini中怎樣屏蔽所有的錯誤”,文中的講解內(nèi)容簡單清晰,易于學(xué)習(xí)與理解,下面請大家跟著小編的思路慢慢深入,一起來研究和學(xué)習(xí)“php.ini中怎樣屏蔽所有的錯誤”吧!

讓客戶滿意是我們工作的目標,不斷超越客戶的期望值來自于我們對這個行業(yè)的熱愛。我們立志把好的技術(shù)通過有效、簡單的方式提供給客戶,將通過不懈努力成為客戶在信息化領(lǐng)域值得信任、有價值的長期合作伙伴,公司提供的服務(wù)項目有:主機域名、網(wǎng)絡(luò)空間、營銷軟件、網(wǎng)站建設(shè)、洪江管理區(qū)網(wǎng)站維護、網(wǎng)站推廣。

1、打開“php.ini”配置文件,在其中搜索“display_errors”項。

2、將“display_errors”項的值設(shè)置為“Off”即可關(guān)閉所有的PHP錯誤報告,進而屏蔽所有錯誤。

實例

; This directive controls whether or not and where PHP will output errors,
 
; notices and warnings too. Error output is very useful during development, but
 
; it could be very dangerous in production environments. Depending on the code
 
; which is triggering the error, sensitive information could potentially leak
 
; out of your application such as database usernames and passwords or worse.
 
; For production environments, we recommend logging errors rather than
 
; sending them to STDOUT.
 
; Possible Values:
 
;   Off = Do not display any errors
 
;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
 
;   On or stdout = Display errors to STDOUT
 
; Default Value: On
 
; Development Value: On
 
; Production Value: Off
 
; http://php.net/display-errors
 
display_errors = Off

感謝各位的閱讀,以上就是“php.ini中怎樣屏蔽所有的錯誤”的內(nèi)容了,經(jīng)過本文的學(xué)習(xí)后,相信大家對php.ini中怎樣屏蔽所有的錯誤這一問題有了更深刻的體會,具體使用情況還需要大家實踐驗證。這里是創(chuàng)新互聯(lián),小編將為大家推送更多相關(guān)知識點的文章,歡迎關(guān)注!

當前文章:php.ini中怎樣屏蔽所有的錯誤
當前鏈接:http://www.chinadenli.net/article2/pesoic.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供移動網(wǎng)站建設(shè)軟件開發(fā)外貿(mào)網(wǎng)站建設(shè)網(wǎng)頁設(shè)計公司定制開發(fā)全網(wǎng)營銷推廣

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)

成都定制網(wǎng)站建設(shè)