Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Nov 2006
    Posts
    512
    Plugin Contributions
    0

    Default 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?

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default 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 ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default 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
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Jul 2005
    Posts
    97
    Plugin Contributions
    0

    help question Re: PHP Output Buffering (gzip) = OFF

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

    Thank you,

  5. #5
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default 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.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Oct 2009
    Posts
    3
    Plugin Contributions
    0

    Default 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.

  7. #7
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: PHP Output Buffering (gzip) = OFF

    Same answer as I gave above.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    Apr 2010
    Posts
    900
    Plugin Contributions
    0

    Default 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.

 

 

Similar Threads

  1. v154 Php open_basedir restrictions & PHP output buffering (gzip) off
    By bearlymakinit in forum Installing on a Windows Server
    Replies: 0
    Last Post: 5 May 2015, 08:41 PM
  2. PHP Output Buffering (gzip) = OFF
    By mumut49 in forum Installing on a Mac Server
    Replies: 1
    Last Post: 1 Apr 2010, 04:07 AM
  3. How to turn off gzip without using admin?
    By beyerg in forum General Questions
    Replies: 5
    Last Post: 15 Oct 2009, 11:47 PM
  4. output buffering question
    By beasleybub in forum Installing on a Linux/Unix Server
    Replies: 0
    Last Post: 13 Jul 2009, 08:29 PM
  5. PHP output buffering?
    By trillian in forum General Questions
    Replies: 4
    Last Post: 3 Sep 2007, 10:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg