PHP8.2 ignores local value of `output_buffering` and uses master

1 day ago 3
ARTICLE AD BOX

I want to set output_buffering=0 in a single directory. When I create a .user.ini file in that directory with output_buffering=0 , phpinfo() shows 0 for the the local value, and 4096 for the master, but the actual behavior PHP exhibits is as if output_buffering=4096.

In other words, PHP appears to be ignoring the local value and instead using the master value.

According to the PHP documentation for output_buffering output_buffering is modifiable per directory.

Interestingly, despite the setting in .user.ini affecting the displayed local value, phpinfo(), does not show .user.ini in "additional .ini files parsed"

Read Entire Article