我今天收到以下错误。我没有对我的 PHP 程序进行任何更改。
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
最佳答案
Unknown on line 0
通常表示配置错误,因此请与您的系统管理员联系。此外,错误消息 (0ff
) 中的值看起来像“Off”,但它实际上以零开头 - 最可能的错误原因。
关于php - 未知 : Failed opening required '0ff' (include_path ='.:/tmp:/usr/lib/php:/usr/local/lib/php' ) in Unknown on line 0,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7722846/