Zen Cart Logo
Forums / Installing on a Linux/Unix Server / PHP Output Buffering (gzip) = OFF

PHP Output Buffering (gzip) = OFF

Locked

Views: 17,366

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
31 Dec 2006, 5:32 PM
#1
dharma avatar

dharma

Totally Zenned

Join Date:
Nov 2006
Posts:
505
Plugin Contributions:
0

PHP Output Buffering (gzip) = OFF

Upon a fresh install of 1.3.7 I get this warning in the : Zen Cart™ Setup - System Inspection, under Other System Information (For Reference Only):

PHP Output Buffering (gzip) = OFF

In previous installs of 1.3.6 this never appeared, is it anything to be concerned about?

31 Dec 2006, 5:34 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: PHP Output Buffering (gzip) = OFF

If GZip is available on your server, turn it on after the install in the Configuration ... GZip settings ...

Your site will run faster for it ... :smile:

31 Dec 2006, 7:12 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: PHP Output Buffering (gzip) = OFF

the new status indicator is just that ... in indicator of whether your system supports gzip or not ... or rather whether it has it already enabled or not

2 Jan 2007, 9:04 PM
#4
gems14k avatar

gems14k

New Zenner

Join Date:
Jul 2005
Posts:
95
Plugin Contributions:
0

Re: PHP Output Buffering (gzip) = OFF

How can I turn it on? I'm using cPanle/WHM.

Thank you,

2 Jan 2007, 9:21 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: PHP Output Buffering (gzip) = OFF

The indicator within the Zen Cart installer is simply telling you what your server's PHP configuration is set to.

To change that will require that you work with your host to alter the PHP configuration.

However, if you wish to benefit from the potential gains that using output-buffering offers, you can tell Zen Cart to enable the feature while serving its own pages.
Simply go to Admin->Configuration->GZip Compression and change the 0 to 1.

16 Oct 2009, 8:13 PM
#6
aaronfrankel avatar

aaronfrankel

New Zenner

Join Date:
Oct 2009
Posts:
3
Plugin Contributions:
0

Re: PHP Output Buffering (gzip) = OFF

I am in the same boat as the origanal poster. I am on GoDaddy hosting. I searched their help files and what I got back was

Add the following code to the very top of your Web pages above the DOCTYPE:

<?php if (substr_count($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip')) ob_start("ob_gzhandler"); else ob_start(); ?>

Is this the right thing to do or is there a setting somewhere - hopefully someone else has experience with GoDaddy hosting - to activate it.

16 Oct 2009, 8:33 PM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: PHP Output Buffering (gzip) = OFF

Same answer as I gave above.

28 Jun 2010, 3:50 AM
#8
feznizzle avatar

feznizzle

Totally Zenned

Join Date:
Apr 2010
Posts:
900
Plugin Contributions:
0

Re: PHP Output Buffering (gzip) = OFF

Hi!

I ran into the same question during an install, googled and found this thread.

I too have my own server with cpanel/whm. I understand you can switch it on within the ZC, but I plan to put up numerous ZC on the server so I might as well switch it on.

Anyway, I see people have commented off and on for a few years.... so I figured I might as well post the answer in case somebody else stumbles in.

If you have control over your server and are using cpanel/whm:

  1. Log into the root whm
  2. Go to Service Configuration >> PHP Configuration Editor
  3. Switch to Advance Mode
  4. Scroll down to: Output Control : output_buffering
  5. Click "On"
  6. Scroll to the bottom of the page and Save.

I don't know if it is better to do it at the server level or within ZC/admin as DrByte describes. But at least you won't get that "Alert" during future installations.