今天我收到以下錯誤。沒有任何改變我的PHP程序。未知:無法打開所需'0ff'(include_path ='。:/ tmp:/ usr/lib/php:/ usr/local/lib/php')在未知0行
Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0
Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0
Fatal error: Unknown: Failed opening required '0ff' (include_path='.:/tmp:/usr/lib/php:/usr/local/lib/php') in Unknown on line 0
....幾個小時後...服務器管理員說他的觀點'沒有問題'!
什麼很好的解決方案:))現在
,數小時後變爲下列消息
Fatal error: Unknown: Failed opening required '0ff
; As of 4.0b4, PHP always outputs a character encoding by default in
; the Content-type: header. To disable sending of the charset, simply
; set it to be empty.
;
; PHP's built-in default is text/html default_mimetype = text/html
;default_charset = iso-8859-1
; Always populate the $HTTP_RAW_POST_DATA variable.
;always_populate_raw_post_data = On
;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories
;
;;;;;;;;;;;;;;;;;;;;;;;;;
; UNIX: /path1:/path2 include_path = .:/tmp:/usr/lib/php:/usr/local/lib/php
;
; Windows: \path1' (include_path='.:/usr/lib/php') in Unknown on line 0
請提供代碼失敗並出現此錯誤 – veritas
這是一個曲解配置設置的地方。請注意,錯誤的值是'0ff',而不是'Off'(零應該是0)。 – mario
是的..你的權利..它應該關閉,而不是0ff –