The header function may require multiple locations to add and best left to configuring on the server since it' something you probably want to set for every request.
For my normal custom websites (not phpbb) i usually use the following my header files
Same thing with the php ini settings, one line in php.ini and it's done deal. That's already the default for most of the settings you have except for
'session.cookie_samesite
which should not interfere with phpBB and session.cookie_httponly
may interfere with some functions as I already mentioned but you'll need to test it.Statistics: Posted by thecoalman — Sat Jul 27, 2024 5:23 pm