ISPConfig 3.2.3 default Apache modules

Discussion in 'Installation/Configuration' started by MSIU, Mar 21, 2021.

  1. MSIU

    MSIU Member

    After upgrading to Debian 9 with ISPConfig and Apache, I probably lost the default settings of enabled modules for Apache2 due to the transition from PHP 5 to PHP 7.0.

    Could someone please send me an overview of enabled modules and configurations (mods-enabled and conf-enabled) from the default installation settings for ISPConfig 3.2.3 with Debian 9 (it can be 10). Websites use different php modes (fast-cgi, php-fpm, etc.) and I also want to activate the http2 protocol, which mpm module does ISPConfig use by default? mpm_prefork is not compatible with http2. I also use Roundcube.

    I don't have acme.conf in /etc/apache2/sites-enabled after updating ISPConfig, is it an error or should it be? I would like to avoid problems with renewing the certificate using acme.sh in the future.

    Thank you in advance.
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Read and follow https://www.howtoforge.com/community/threads/please-read-before-posting.58408/
    When upgrading the OS, you must follow the ISPConfig Perfect Server Guide for the new OS version. Install packages, do configurations etc.. Then force ISPConfig to reconfigure services with
    Code:
    ispconfig_update.sh --force
    Read more info of what I wrote above from the "please read before posting" -article.
     
    Th0m likes this.
  3. MSIU

    MSIU Member

    I have folowed Percect server for Debian 9 Tutorial, packages and dependencies are OK, but some enabled modules and confs for Apache are from old Debian config, for example http2 module remain disabled, mpm_prefork enabled, php5 enabled, etc, because this configuration works, but not the same like fresh install with new ISPConfig features, so i need them and upgrading ISPConfig not helps with it without manual changes.
     
  4. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    If you did this, everything should be OK. To enable HTTP/2, run:
    Code:
    a2enmod http2
    a2enconf php7.0-fpm
    systemctl reload apache2
    a2dismod php7.0
    systemctl restart apache2
    a2dismod mpm_prefork
    a2enmod mpm_event
    systemctl restart apache2
     
    MSIU likes this.
  5. MSIU

    MSIU Member

    Yes, that is what I asked it, I want support all php modes and confs for websites, that ISPconfig supports, thank you very very much.

    And what Apache conf php7.0-cgi, regarding to ISPConfig 3.2.3?
     
  6. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    All PHP versions should work out of the box after installing them.
    Follow this guide to install additional versions: https://www.howtoforge.com/tutorial...fig-3-from-debian-packages-on-debian-8-and-9/
     
    MSIU likes this.
  7. MSIU

    MSIU Member

Share This Page