全球主机交流论坛

标题: 0.99美元的客服 [打印本页]

作者: yaoe    时间: 2011-3-25 15:36
标题: 0.99美元的客服
发现没开启 gzip 访问很慢, 没用过 cpanel 也不知道怎么开启
于是我用蹩脚英语和 live chat 询问如何开启 gzip

Hello, your representative is Andrew
Welcome to Hostable, Andrew will be right with you.

Andrew
Thank you for visiting today, how may I help you?
yaoe@*********
hi, i want to know, how do turn on gzip?
yaoe@*********
in cpanel
Andrew
it is turned on
Andrew
you select the file you want to zip and select compress
yaoe@*********
but i vista php page, it's off.
yaoe@*********
HTTP/1.1 200 OK
Date: Fri, 25 Mar 2011 07:21:15 GMT
Server: Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
X-Powered-By: PHP/5.3.6
Transfer-Encoding: chunked
Content-Type: text/html
Andrew
I'm not sure I follow you ?
yaoe@*********
i sorry for bad english.
yaoe@*********
apache gzip maybe off
yaoe@*********
so, access is too slow
Andrew
no, I am able to access gzip in your account
yaoe@*********
Is there any way you can enable the gzip
yaoe@*********
Oh, thanks, I'll give it a try
Andrew
yes i just compressed a test file using gzip
yaoe@*********
If gzip open, then when I visit a page, the page should be for the gzip output.
yaoe@*********
Instead of using the gzip compressed file
Andrew
you go to your files located in your account
Andrew
select the file you want to compress and chose gzip
yaoe@*********
Anyway, thanks, take your time

[ 本帖最后由 yaoe 于 2011-3-25 15:40 编辑 ]
作者: 我是小白    时间: 2011-3-25 15:38
我要看国语,请楼主翻译!
作者: yugongtian    时间: 2011-3-25 16:57
默认是开启状态的
作者: zwstar    时间: 2011-3-25 17:01
蹩脚英语呃。。
老外如果不知道你是中国的话,可能会看成澳大利亚英语。。
因为澳大利亚英语和你说的差不多。
作者: yaoe    时间: 2011-3-25 17:12
标题: 回复 3# 的帖子
没有开启啊,你确定这开启了?

# curl -I --compressed  ****.a.hostable.me

HTTP/1.1 200 OK
Date: Fri, 25 Mar 2011 08:46:32 GMT
Server: Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
Last-Modified: Fri, 25 Mar 2011 04:49:51 GMT
ETag: "1570009-420-49f47530259c0"
Accept-Ranges: bytes
Content-Length: 1056
Content-Type: text/html
作者: sunday    时间: 2011-3-26 09:09
客服好像看成你在咨询:如何压缩文件
作者: Wyane    时间: 2011-3-26 19:54
原帖由 sunday 于 2011-3-26 09:09 发表
客服好像看成你在咨询:如何压缩文件

作者: 违法主机    时间: 2011-3-26 22:01
zend都不让用,因为他安装了apc
作者: yaoe    时间: 2011-3-26 22:08
标题: 回复 8# 的帖子
不能用zend的真正原因是他们用了5.3.6的php,而zend当前只能支持到php 5.2.x,这是zend自身的悲剧.和apc无关
作者: 违法主机    时间: 2011-3-26 22:23
原帖由 yaoe 于 2011-3-26 22:08 发表
不能用zend的真正原因是他们用了5.3.6的php,而zend当前只能支持到php 5.2.x,这是zend自身的悲剧.和apc无关


好像在whm下没办法同时使用apc+zend,查了好多资料没解决方案.
作者: Kokgog    时间: 2011-3-26 22:46
apc没装,只是他们php.ini里加载了那条,apc和pdo/sqlite/mysql错误的日志不停追加到error_log里的
作者: javaluo    时间: 2011-4-4 01:04
LZ英语真是蹩脚啊
作者: javaluo    时间: 2011-4-4 01:05
不过最终解决问题了 还不错
作者: ifoneday    时间: 2011-4-4 02:40
自已上传一个php.ini
php.ini文件里写上
output_buffering = Off
zlib.output_compression = On
Gzip就开启了!
作者: qxwo    时间: 2011-4-4 07:35
标题: 回复 14# 的帖子
php.ini放哪里?
作者: yaoe    时间: 2011-4-4 19:34
标题: 回复 14# 的帖子
教会你我有什么好处?

你确认你的gzip开启后对html有效?
作者: i65u    时间: 2011-4-4 20:12
提示: 作者被禁止或删除 内容自动屏蔽
作者: yaoe    时间: 2011-4-4 22:13
标题: 回复 17# 的帖子
回这帖之前.你应该看看我这帖子是几号发的.再想想这是我tk几天后?
另外我也不像争论gzip是否默认开启.
我的标题不就表明了我想讨论什么?




欢迎光临 全球主机交流论坛 (https://lilynana.eu.org/) Powered by Discuz! X3.4