簡體   English   中英

未知:在第0行的未知中打開所需的'0ff'(include_path ='。:/ tmp:/ usr / lib / php:/ usr / local / lib / php')失敗

[英]Unknown: Failed opening required '0ff' (include_path='.:/tmp:/usr/lib/php:/usr/local/lib/php') in Unknown on line 0

我今天遇到了以下錯誤。我的PHP程序沒有任何變化。

警告:未知:無法打開流:第0行的“未知”中沒有此類文件或目錄

警告:未知:無法打開流:第0行的“未知”中沒有此類文件或目錄

致命錯誤:未知:在第0行的未知中打開所需的'0ff'(include_path ='。:/ tmp:/ usr / lib / php:/ usr / local / lib / php')失敗

....幾個小時后......服務器管理員在他的觀點上說'沒有問題'!

多么好的解決方案:))

現在,幾個小時后,錯誤更改為以下消息

致命錯誤:未知:未能打開所需的'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

Unknown on line 0通常表示配置錯誤,因此請與您的系統管理員聯系。 此外,錯誤消息( 0ff )中的值看起來像“關閉”,但它實際上從零開始 - 最可能的錯誤原因。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM