libapache2-mod-php7.0: php5 module already enabled, not enabling PHP 7.0

Discussion in 'ISPConfig 3 Priority Support' started by Taleman, Jun 6, 2019.

  1. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    On Debian GNU/Linux version 9.9 Stretch, upgraded from Debian Jessie 8.x, I get when doing apt-get upgrade:
    Code:
    libapache2-mod-php7.0: php5 module already enabled, not enabling PHP 7.0
    I checked
    Code:
    # ls -lh /etc/apache2/mods-enabled/php*
    lrwxrwxrwx 1 root root 27 touko  8  2017 /etc/apache2/mods-enabled/php5.conf -> ../mods-available/php5.conf
    lrwxrwxrwx 1 root root 27 touko  8  2017 /etc/apache2/mods-enabled/php5.load -> ../mods-available/php5.load
    
    and sure enough, apache has only php5 module enabled. There are modules for PHP 7 available:
    Code:
    # ls -lh /etc/apache2/mods-available/php*
    -rw-r--r-- 1 root root 865 helmi  8  2017 /etc/apache2/mods-available/php5.conf
    -rw-r--r-- 1 root root  59 helmi  8  2017 /etc/apache2/mods-available/php5.load
    -rw-r--r-- 1 root root 867 maali  8 12:01 /etc/apache2/mods-available/php7.0.conf
    -rw-r--r-- 1 root root 102 maali  8 12:01 /etc/apache2/mods-available/php7.0.load
    -rw-r--r-- 1 root root 855 touko  3 13:32 /etc/apache2/mods-available/php7.2.conf
    -rw-r--r-- 1 root root 102 touko  3 13:32 /etc/apache2/mods-available/php7.2.load
    -rw-r--r-- 1 root root 855 touko  3 12:38 /etc/apache2/mods-available/php7.3.conf
    -rw-r--r-- 1 root root 102 touko  3 12:38 /etc/apache2/mods-available/php7.3.load
    
    I have installed those additional PHP versions using the well known tutorial that intalls from Ondrej Sury repository.
    Should I after dist-upgrade from Jessie to Stretch have disabled php5 module and enabled PHP 7.0 module for Apache? ISPConfig is 3.1 latest, resently updated.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, this will probably help. I would try that.
     

Share This Page