我使用下面的命令行curl来了解我的站点是否支持压缩和缓存
curl --head --compress http://www.mysite.com
它返回以下结果
Http://1.1 406 Not Acceptable
Date: Wed, 28 Dec 2011 07:41:32 GMT
Server: Apache
Content-Type: text/html; charset-iso-8859-1
Run Code Online (Sandbox Code Playgroud)
你怎么看待这个问题?谢谢
我今天遇到了以下错误.我的PHP程序没有任何变化.
警告:未知:无法打开流:第0行的"未知"中没有此类文件或目录
警告:未知:无法打开流:第0行的"未知"中没有此类文件或目录
致命错误:未知:在未知在线0失败开口所需 '0FF'(include_path中= ':在/ usr /本地/ LIB/PHP./ TMP:/ usr/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 = …Run Code Online (Sandbox Code Playgroud)