How do I stop output_buffering
Posted by: riddleyw (---.nyc.rr.com)
Date: January 20, 2022 10:10PM

On my WAMP I've edited the php.ini from the menu php->php.ini. I've tried commenting out the output_buffering lines and also tried output_buffering=0 and output_buffering=off. Each time I restarted the server. No matter what I do it is showing output_buffer as 4096.

Re: How do I stop output_buffering
Posted by: riddleyw (---.nyc.rr.com)
Date: January 20, 2022 10:53PM

For anyone else who has the problem, this is how I solved it. Wamp suggests that you do the edit using the php.ini file that comes up from the menu (php->php.ini). I did that multiple times, restarting the server each time, but nothing fixed it. I ended up going into the directory outside of WAMP and fixing the file there. Then, after restarting, the new values took effect.

Re: How do I stop output_buffering
Posted by: Otomatic (Moderator)
Date: January 21, 2022 08:31AM

Hi,

Modify, by hand, the PHP -> php.ini file to put :

output_buffering = 4096

or

output_buffering = Off

or

output_buffering = On

then launch Right-Click -> Refresh

Works perfectly and does not cause any problem.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Re: How do I stop output_buffering
Posted by: riddleyw (---.nyc.rr.com)
Date: January 21, 2022 05:08PM

Otomatic, your reply suggestion is EXACTLY what I had done. It did not work for me. I had to manually (and outside of wamp) go into the .ini file and change it. I know this is not the preferred method, but the course you suggested didn't work.

Is there a reason you can think of? Is there something wrong with my setup?

Re: How do I stop output_buffering
Posted by: Otomatic (Moderator)
Date: January 21, 2022 05:26PM

Hi,

What is the text editor used by default by your Wampserver ?

Line editor = in wampmanager.conf file

I used notepad++
editor ="E:/Util/Texte/Notepad++/notepad++.exe"

It is with this text editor that PHP -> php.ini is opened.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Re: How do I stop output_buffering
Posted by: riddleyw (---.nyc.rr.com)
Date: January 21, 2022 05:41PM

Thank you! The problem was I was using Restart, on the left click side, and not Refresh, on the right click side. The latter works, the former didn't. Many thanks.

Sorry, only registered users may post in this forum.