php - 未知 : Failed opening required '0ff' (include_path ='.:/tmp:/usr/lib/php:/usr/local/lib/php' ) in Unknown on line 0

标签 php linux

我今天收到以下错误。我没有对我的 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/

相关文章:

java - 从 PHP 到 Java。有什么建议吗?

android - 如何从命令行使用 cmake 为已 root 的 Android 设备生成可执行文件?

linux - 编辑和编译 MPIs FORTRAN 代码

linux - 发送到源地址

sql - 如何从teamcity代理上的gradle脚本运行sql文件(具有多个查询和注释)

php - 如何通过模态向mysql插入数据

php - 在 CakePHP 中如何将查找限制为特定数字?

php - 将目录忽略添加到 PHPStorm

php - 在查询结果中显示类别

c - 在 Linux 中通过串口通信发送十六进制数据