全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 7870|回复: 17
打印 上一主题 下一主题

0.99美元的客服

[复制链接]
跳转到指定楼层
1#
发表于 2011-3-25 15:36:45 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
发现没开启 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 编辑 ]

评分

参与人数 1威望 -2 收起 理由
xxxbi -2 骂人是就该扣分,你还反过来扣别人分 ...

查看全部评分

18#
 楼主| 发表于 2011-4-4 22:13:20 | 只看该作者

回复 17# 的帖子

回这帖之前.你应该看看我这帖子是几号发的.再想想这是我tk几天后?
另外我也不像争论gzip是否默认开启.
我的标题不就表明了我想讨论什么?
i65u 该用户已被删除
17#
发表于 2011-4-4 20:12:25 | 只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
16#
 楼主| 发表于 2011-4-4 19:34:01 | 只看该作者

回复 14# 的帖子

教会你我有什么好处?

你确认你的gzip开启后对html有效?
15#
发表于 2011-4-4 07:35:06 | 只看该作者

回复 14# 的帖子

php.ini放哪里?
14#
发表于 2011-4-4 02:40:48 | 只看该作者
自已上传一个php.ini
php.ini文件里写上
output_buffering = Off
zlib.output_compression = On
Gzip就开启了!
13#
发表于 2011-4-4 01:05:04 | 只看该作者
不过最终解决问题了 还不错
12#
发表于 2011-4-4 01:04:30 | 只看该作者
LZ英语真是蹩脚啊
11#
发表于 2011-3-26 22:46:05 | 只看该作者
apc没装,只是他们php.ini里加载了那条,apc和pdo/sqlite/mysql错误的日志不停追加到error_log里的

评分

参与人数 1威望 +20 收起 理由
我是人 + 20 转眼间,画圈圈又把真相握在手里了。。。 ...

查看全部评分

10#
发表于 2011-3-26 22:23:11 | 只看该作者
原帖由 yaoe 于 2011-3-26 22:08 发表
不能用zend的真正原因是他们用了5.3.6的php,而zend当前只能支持到php 5.2.x,这是zend自身的悲剧.和apc无关


好像在whm下没办法同时使用apc+zend,查了好多资料没解决方案.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2025-11-10 19:16 , Processed in 0.094122 second(s), 13 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表