Enable Brotli
LxRoot ships with the brotli extension, but this is not enabled by default. To enable it:
- Run
/usr/sbin/chrootbuilder
to ensure you have the latest PHP container base images. - In the UI, under developer tools, add a php.ini setting with the directive
extension
and the valuebrotli.so
. - If the extension does not show in phpinfo() immediately, you can force a
restart of the PHP container. Either
pkill -9 -u website_user
or toggle the PHP version in the control panel.