Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2005
    Location
    London, UK
    Posts
    144
    Plugin Contributions
    0

    Default PHP output buffering?

    When I look at the settings in admin server info for PHP output buffering it shows 'no value'. Does this mean output buffering is off?

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

    Default Re: PHP output buffering?

    If you're looking in the phpinfo() output, then that means that PHP is configured not to do output-buffering automatically.

    If you enable "GZip compression" in Admin->Configuration->GZip compression, then Zen Cart will attempt to enable output buffering itself while it serves its pages.
    .

    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.

  3. #3
    Join Date
    Sep 2007
    Posts
    1
    Plugin Contributions
    0

    Idea or Suggestion Re: PHP output buffering?

    Quote Originally Posted by DrByte View Post
    If you're looking in the phpinfo() output, then that means that PHP is configured not to do output-buffering automatically.

    If you enable "GZip compression" in Admin->Configuration->GZip compression, then Zen Cart will attempt to enable output buffering itself while it serves its pages.
    I have read some of your posts and you seem very knowledgeable on this subject. My question is - per your quote above - how do I get to those areas to make the adjustments. Before install my settings also read:

    # PHP Output Buffering (gzip) = OFF

    Where do I go to turn it on? What is the true benefit? Thanks.

  4. #4
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: PHP output buffering?

    Only if you are on a dedicated/semi dedicated host where you can actually change the setting of the softwares installed on the server.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

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

    Default Re: PHP output buffering?

    To turn it on post-install, you can set it in the Admin, as I mentioned above.

    To turn it on pre-install, assuming you have control over your own php.ini settings, you can set it in php.ini or .htaccess. Since each host's setup is different, your hosting company can assist you in placing the setting in the right location that suits their server configuration.

    In short, the buffering compresses content destined for the browser before transmission. This means that the page content might get delivered between your server and the customer's browser a bit faster than if buffering is not enabled. There's more to it than that, but that's the brief version. Lots more information can be read on the php.net website.
    .

    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.

 

 

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 dharma in forum Installing on a Linux/Unix Server
    Replies: 7
    Last Post: 28 Jun 2010, 04:50 AM
  3. PHP Output Buffering (gzip) = OFF
    By mumut49 in forum Installing on a Mac Server
    Replies: 1
    Last Post: 1 Apr 2010, 04:07 AM
  4. Styling PhP output
    By tidy in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 6 Mar 2010, 06:16 AM
  5. output buffering question
    By beasleybub in forum Installing on a Linux/Unix Server
    Replies: 0
    Last Post: 13 Jul 2009, 08:29 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