LxRoot docs

Enable Brotli

LxRoot ships with the brotli extension, but this is not enabled by default. To enable it:

  1. Run /usr/sbin/chrootbuilder to ensure you have the latest PHP container base images.
  2. In the UI, under developer tools, add a php.ini setting with the directive extension and the value brotli.so.
  3. 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.