Issue to display ISPConfig Webclient

Discussion in 'Installation/Configuration' started by Ludo74, Feb 19, 2021.

  1. Ludo74

    Ludo74 New Member

    Hello,
    Server configuration : Ubuntu Server 2004 With Apache and PHP 7.2/7.4 & 8.0
    Issue :
    I recently upgraded my PHP versions on my webserver.
    For an unknow reason, the core of ISPConfig on the 8080 port was linked with PHP8.0-FPM :
    upload_2021-2-19_16-46-38.png
    ISPConfig is not compatible with this new version of PHP, so I want to use PHP7.4-FPM.
    For information, all of my websites, that have been configured in the ISPConfig interface are fully functionnal with PHP 7.2 or 7.4 FPM version.

    The vhost of ISPConfig is based on : /etc/apache2/sites-available/ispconfig.vhost

    I guess I should modify something here :

    <IfModule mod_fcgid.c>
    DocumentRoot /var/www/ispconfig/
    SuexecUserGroup ispconfig ispconfig
    <Directory /var/www/ispconfig/>
    Options -Indexes +FollowSymLinks +MultiViews +ExecCGI
    AllowOverride AuthConfig Indexes Limit Options FileInfo
    <FilesMatch "\.php$">
    SetHandler fcgid-script
    </FilesMatch>
    FCGIWrapper /var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter .php
    Require all granted
    </Directory>
    IPCCommTimeout 7200
    MaxRequestLen 15728640
    </IfModule>

    Do you have any idea of what I have to do to "tell" to Apache to execute this Vhost with PHP7.4-FPM instead of PHP8.0-FPM ?

    Thank you for your help.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

  4. Ludo74

    Ludo74 New Member

    Hi Till and Th0m,

    Thank you for your replies!
    I've executed this simple commands :
    - update-alternatives --config php ==>Then selected PHP7.4
    - apt autoremove --purge php8.0-fpm to delete PHP8-FPM (I do not use it right now)

    My admin interface is now accessible with this version of PHP :
    upload_2021-2-19_18-5-26.png

    Where can I go to follow this bug and know when a fix will be found ?
     
  5. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    I have now created https://git.ispconfig.org/ispconfig/ispconfig-autoinstaller/-/issues/28 for it.
     
    Ludo74 likes this.
  6. Ludo74

    Ludo74 New Member

    Thank you for that.
    I will check on it.
     
  7. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    I have fixed this, it should be included in the autoinstaller tomorrow (the releases are build every night).
     
    till likes this.

Share This Page