not recommended to install why you need it in php ?
Hi "Sandeep", i have the same problem.
For my WordPress website i use the plugin W3 Total Cache which requires the use of PHP function brotli_compress and one of their developers also explains the reason:
(
https://wordpress.org/support/topic/module-detection-problem-with-fpm/)
"Hello,
We check for the PHP function brotli_compress, because that function is used to compress cache files and store a compressed version of the cache, same as we do for gzip compression. If we would not do this, the server has to dynamically compress files when requested, which takes some time. That would defeat the purpose of using compression to speed up the website.
If you want to use the Apache module only, which I do not recommend, you can always add the required code manually to your .htaccess file outside of the W3TC blocks."
Please "Sandeep" how to install php-ext-brotli (
https://github.com/kjdev/php-ext-brotli) for PHP-FPM on CWP PRO ?
Thanks in advance for the support.