How To Enable Output_buffering?
- Forums
- PHP
- How To Enable Output_buffering?
Please Show Me How To Enable Output Buffering In My Php Settings [2067], Last Updated: Mon Jun 24, 2024
Webune Support
Sat Nov 14, 2009
0 Comments
507 Visits
Hello, welcome to Webune Web hosting if you are wondering how you can enable output buffering in php, we will show you how.
we provide php web hosting for our customer. if you are interested in php hosting with output buffering enabled we can provide that service to you.
if you have a dedicated linux server, all you have to do is login to your server as root and edit the php.ini file.
to open and edit your php.ini file, simple send this command:
nano /etc/php.ini
look for this line:
output_buffering = xxxx
xxxx is whatever you have it set up now. but to turn it off, just change it to:
output_buffering = Off
otherwise you might get an error like this:
Warning: Output buffering is enabled in your php by the output_buffering parameter(s) in php.ini. Gallery can function with this setting - downloading files is even faster - but Gallery might be unable to serve large files (e.g. large videos) and run into the memory limit. Also, some features like the progress bars might not work correctly if output buffering is enabled unless ini_set() is allowed.