How to enable GZIP in ISPConfig 3

Discussion in 'Installation/Configuration' started by Taxick, Aug 13, 2023.

  1. Taxick

    Taxick Member

    Hi :)

    First, I want to say thanks for ISPConfig. I like it very much.

    But I have one question. How can I enable Gzip on my sites/server?

    I have found this URL:

    But it's very outdated...


    lsb_release -a

    No LSB modules are available.
    Distributor ID: Ubuntu
    Description:    Ubuntu 22.04.3 LTS
    Release:        22.04
    Codename:       jammy
    php -v
    PHP 8.2.8 (cli) (built: Jul  8 2023 07:10:21) (NTS)
    Copyright (c) The PHP Group
    Zend Engine v4.2.8, Copyright (c) Zend Technologies
        with Zend OPcache v8.2.8, Copyright (c), by Zend Technologies
    BTW.. I'm new to Linux, so be noob friendly :)


    // Thomas
    Last edited: Aug 13, 2023
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You just have to enable gzip in your web server, that#s not ISPConfig specific and you do not have to enable it in ISPConfig. For Apache, you probably just have to run:

    a2enmod deflate
    service apache2 restart
    on Debian and Ubuntu.
  3. Taxick

    Taxick Member

  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Have a look at the link you posted above, might be that you have to explicitly enable mod_defflate for the mime type that you are testing. I've updated the restart commands in that guide btw. All other parts were still up to date.
  5. Taxick

    Taxick Member

    Hi :)
    Thanks, I will try...

Share This Page