Enable Brotli
LxRoot ships with the brotli extension, but this is not enabled by default. To enable it:
- Run
/usr/sbin/chrootbuilderto ensure you have the latest PHP container base images. - In the UI, under developer tools, add a php.ini setting with the directive
extensionand 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_useror toggle the PHP version in the control panel.
Last updated on