Navigation

    • Register
    • Login
    • Search
    • Recent
    • Users
    • Groups

    How to install php-ext-brotli for PHP-FPM on CWP PRO ?

    CWP - Panel
    2
    2
    56
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Automata
      Automata last edited by Automata

      Hi "Sandeep", i have this 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.

      1 Reply Last reply Reply Quote 0
      • sandeep
        sandeep last edited by

        hi here you go
        https://www.mysterydata.com/install-php-ext-brotli-on-cwp-php-switcher-cgi-selector-and-php-fpm-selector/

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post

        Recent Topics

        • How to add a new disk?

        • Module IPv6 CWP

        • PHP 8.0.0 testing - CWP

        • Serious error with quotas

        • Centos 8 Stream CWP - Delayed Update and CWP repositories are added

        • Update NGINX Stable v1.16.1 to latest NGINX Stable v1.18.0 for CWP & CWP PRO!

        • Phpmyadmin New Verison with autologin - CWP

        • M

          Install php 7.4 on cwp

        URLs HOME | Blog | Support Portal