PHPMyAdmin white screen after update

Discussion in 'General' started by Wade John Beckett, Sep 22, 2022.

Tags:
  1. Wade John Beckett

    Wade John Beckett Member HowtoForge Supporter

    Hi there,
    I trust you are well.

    I recently ran an update of my ISPConfig instance, and now I am unable to access the PHPMyAdmin at https://[hostname]:8080/phpmyadmin/
    It is just a blank white screen.

    I don't even know where to start looking. Any help would be appreciated.

    ** Update **

    I am receiving the following error when trying to install libapache2-mod-php8.1:

    The following packages have unmet dependencies:
    libapache2-mod-php8.1 : Depends: php8.1-common (= 8.1.2-1ubuntu2.4) but 8.1.9-1+ubuntu20.04.1+deb.sury.org+1 is to be installed
    E: Unable to correct problems, you have held broken packages.

    php -v gives me:

    PHP 7.4.30 (cli) (built: Aug 1 2022 15:06:20) ( NTS )
    Copyright (c) The PHP Group
    Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with the ionCube PHP Loader + ionCube24 v11.0.1, Copyright (c) 2002-2022, by ionCube Ltd.
    with Zend OPcache v7.4.30, Copyright (c), by Zend Technologies
     
    Last edited: Sep 22, 2022
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Wade John Beckett likes this.
  3. Wade John Beckett

    Wade John Beckett Member HowtoForge Supporter

    Thank you for your reply Taleman.

    Output of test script

    Code:
    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    [WARN] could not determine server's ip address by ifconfig
    [INFO] OS version is Ubuntu 22.04.1 LTS
    [INFO] uptime:  10:54:25 up 10:42,  1 user,  load average: 0.14, 0.13, 0.16
    [INFO] memory:
                   total        used        free      shared  buff/cache   available
    Mem:           3.8Gi       2.2Gi       860Mi       300Mi       851Mi       1.1Gi
    Swap:             0B          0B          0B
    [INFO] systemd failed services status:
      UNIT                      LOAD   ACTIVE SUB    DESCRIPTION
    ● snap.lxd.activate.service loaded failed failed Service for snap application lxd.activate
    
    LOAD   = Reflects whether the unit definition was properly loaded.
    ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
    SUB    = The low-level unit activation state, values depend on unit type.
    1 loaded units listed.
    
    [INFO] ISPConfig is installed.
    [WARN] /usr/local/ispconfig/server/lib/config.inc.php is missing.
    
    ##### VERSION CHECK #####
    
    [INFO] php (cli) version is 7.4.30
    [INFO] php-cgi (used for cgi php in default vhost!) is version 7.4.30
    
    ##### PORT CHECK #####
    
    [WARN] Port 22 (SSH server) seems NOT to be listening
    
    ##### MAIL SERVER CHECK #####
    
    ##### RUNNING SERVER PROCESSES #####
    
    [WARN] I could not determine which web server is running.
    [WARN] I could not determine which mail server is running.
    [WARN] I could not determine which pop3 server is running.
    [WARN] I could not determine which imap server is running.
    [WARN] I could not determine which ftp server is running.
    
    ##### LISTENING PORTS #####
    (only       ()
    Local       (Address)
    [anywhere]:993       (-)
    [anywhere]:995       (-)
    [localhost]:10023       (-)
    [anywhere]:587       (-)
    [anywhere]:465       (-)
    [anywhere]:143       (-)
    ***.***.***.***:53       (-)
    [localhost]:3306       (-)
    [anywhere]:21       (-)
    [anywhere]:25       (-)
    [anywhere]:24       (-)
    [anywhere]:4190       (-)
    [localhost]:11333       (-)
    [localhost]:11332       (-)
    [localhost]:11334       (-)
    [anywhere]:110       (-)
    [localhost]:953       (-)
    [localhost]:953       (-)
    [localhost]:11211       (-)
    ***.***.***.***:53       (-)
    ***.***.***.***:53       (-)
    ***.***.***.***:53       (-)
    ***.***.***.***:53       (-)
    ***.***.***.***:53       (-)
    ***.***.***.***:53       (-)
    [localhost]:6379       (-)
    [localhost]:53       (-)
    [localhost]:53       (-)
    *:*:*:*::*:993       (-)
    *:*:*:*::*:995       (-)
    *:*:*:*::*:953       (-)
    *:*:*:*::*:953       (-)
    *:*:*:*::*:587       (-)
    *:*:*:*::*:443       (-)
    *:*:*:*::*:465       (-)
    *:*:*:*::*:6379       (-)
    *:*:*:*::*:53       (-)
    *:*:*:*::*:53       (-)
    [localhost]43       (-)
    *:*:*:*::*:21       (-)
    *:*:*:*::*:25       (-)
    *:*:*:*::*:24       (-)
    *:*:*:*::*:80       (-)
    *:*:*:*::*:4190       (-)
    *:*:*:*::**:*:*:*::*53       (-)
    *:*:*:*::**:*:*:*::*53       (-)
    [localhost]10       (-)
    *:*:*:*::*:8081       (-)
    *:*:*:*::*:8080       (-)
    *:*:*:*::*8c59:19ff:fe88:53       (-)
    *:*:*:*::*8c59:19ff:fe88:53       (-)
    *:*:*:*::*:10023       (-)
    *:*:*:*::*:11334       (-)
    *:*:*:*::*:11333       (-)
    *:*:*:*::*:11332       (-)
    *:*:*:*::*d4fd:81ff:fe9f:53       (-)
    *:*:*:*::*d4fd:81ff:fe9f:53       (-)
    
    ##### IPTABLES #####
    ##### LET'S ENCRYPT #####
    
    OS release:

    Code:
    Description:   Ubuntu 22.04.1 LTS
    
    php -v
    Code:
    PHP 7.4.30 (cli) (built: Aug  1 2022 15:06:20) ( NTS )
    Running Apache

    I ran
    Code:
    ispconfig_update.sh --force
    

    And reconfigured.

    I ran both:
    Code:
    update-alternatives --config php
    and
    Code:
    update-alternatives --config php-cgi
    And set the system to 7.4, then 8.1. Neither made a difference to the phpmyadmin white screen error.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Most likely you still use mod_php as PHP 8.1 and that's why phpmyadmin fails.
     
    Wade John Beckett likes this.
  5. Wade John Beckett

    Wade John Beckett Member HowtoForge Supporter

    Would this be for Apache?
    If so then would the following work?
    Code:
    sudo a2dismod php8.1
    sudo a2enmod php7.4
    
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, that's for apache only.
     
    Wade John Beckett likes this.
  7. Wade John Beckett

    Wade John Beckett Member HowtoForge Supporter

    I'm not sure how to correct this to be honest.
     
  8. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Wade John Beckett likes this.

Share This Page