Phpmyadmin, debian 11, php 8

Discussion in 'ISPConfig 3 Priority Support' started by chsdaiguil, Feb 11, 2025.

  1. chsdaiguil

    chsdaiguil Member HowtoForge Supporter

    Hello

    I have enabled the http/2 protocol on our server, I did it with the php8.1 version.

    Maybe it was necessary to enable it with a previous php version.

    In any case, http/2 works, but now I realize that /phpmyadin returns me a blank page, and that /webmail too, because it wants a php version lower than 8.

    We do not need /webmail, but we do need /phpmyadmin.

    What should I install so that /phpmyadmion works with php8.1 on debian 11 apache 2?

    Thanks
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    chsdaiguil likes this.
  3. chsdaiguil

    chsdaiguil Member HowtoForge Supporter

    lsb_release -a
    No LSB modules are available.
    Distributor ID: Debian
    Description: Debian GNU/Linux 11 (bullseye)
    Release: 11
    Codename: bullseye

    php -v
    PHP 8.1.31 (cli) (built: Nov 21 2024 10:24:20) (NTS)
    Copyright (c) The PHP Group
    Zend Engine v4.1.31, Copyright (c) Zend Technologies
    with Zend OPcache v8.1.31, Copyright (c), by Zend Technologies

    Code:
    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    [WARN] could not determine server's ip address by ifconfig
    [INFO] OS version is Debian GNU/Linux 11 (bullseye)
     
    [INFO] uptime:  10:24:29 up 1 day, 19:54,  3 users,  load average: 0.22, 0.31, 0.31
     
    [INFO] memory:
                   total        used        free      shared  buff/cache   available
    Mem:           3.8Gi       2.3Gi       276Mi       364Mi       1.3Gi       983Mi
    Swap:          1.0Gi       1.0Gi       6.0Mi
     
    [INFO] systemd failed services status:
      UNIT                                 LOAD   ACTIVE SUB    DESCRIPTION
    ● redis-server.service                 loaded failed failed Advanced key-value store
    ● systemd-networkd-wait-online.service loaded failed failed Wait for Network to be Configured
    
    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.
    2 loaded units listed.
    
    [INFO] ISPConfig is installed.
    
    ##### ISPCONFIG #####
    ISPConfig version is 3.2.12p1
    
    
    ##### VERSION CHECK #####
    
    [INFO] php (cli) version is 8.1.31
    [INFO] php-cgi (used for cgi php in default vhost!) is version 8.1.31
    
    ##### PORT CHECK #####
    
    
    ##### MAIL SERVER CHECK #####
    
    
    ##### RUNNING SERVER PROCESSES #####
    
    [INFO] I found the following web server(s):
            Apache 2 (PID 1199823)
    [INFO] I found the following mail server(s):
            Postfix (PID 105682)
    [INFO] I found the following pop3 server(s):
            Dovecot (PID 482)
    [INFO] I found the following imap server(s):
            Dovecot (PID 482)
    [INFO] I found the following ftp server(s):
            PureFTP (PID 997)
    ---------------
    ##### LISTENING PORTS #####
    (only           ()
    Local           (Address)
    [anywhere]:4190         (482/dovecot)
    [anywhere]:993          (482/dovecot)
    [anywhere]:995          (482/dovecot)
    [localhost]:11332               (531/rspamd:)
    [localhost]:11333               (531/rspamd:)
    [localhost]:11334               (531/rspamd:)
    [localhost]:10023               (779/postgrey)
    [anywhere]:587          (105682/master)
    [localhost]:11211               (514/memcached)
    [anywhere]:110          (482/dovecot)
    [anywhere]:143          (482/dovecot)
    [anywhere]:465          (105682/master)
    ***.***.***.***:53              (515/named)
    ***.***.***.***:53              (515/named)
    ***.***.***.***:53              (515/named)
    ***.***.***.***:53              (515/named)
    [anywhere]:21           (997/pure-ftpd)
    [localhost]:53          (515/named)
    [localhost]:53          (515/named)
    [anywhere]:22           (574/sshd:)
    [anywhere]:25           (105682/master)
    *:*:*:*::*:4190         (482/dovecot)
    *:*:*:*::*:993          (482/dovecot)
    *:*:*:*::*:995          (482/dovecot)
    *:*:*:*::*:11332                (531/rspamd:)
    *:*:*:*::*:11333                (531/rspamd:)
    *:*:*:*::*:11334                (531/rspamd:)
    *:*:*:*::*:10023                (779/postgrey)
    *:*:*:*::*:3306         (646/mariadbd)
    *:*:*:*::*:587          (105682/master)
    [localhost]10           (482/dovecot)
    [localhost]43           (482/dovecot)
    *:*:*:*::*:8080         (1199823/apache2)
    *:*:*:*::*:80           (1199823/apache2)
    *:*:*:*::*:8081         (1199823/apache2)
    *:*:*:*::*:465          (105682/master)
    *:*:*:*::*:21           (997/pure-ftpd)
    *:*:*:*::*:53           (515/named)
    *:*:*:*::*:53           (515/named)
    *:*:*:*::**:*:*:*::*53          (515/named)
    *:*:*:*::**:*:*:*::*53          (515/named)
    *:*:*:*::*:22           (574/sshd:)
    *:*:*:*::*:25           (105682/master)
    *:*:*:*::*:443          (1199823/apache2)
    
    
    
    
    ##### IPTABLES #####
    ---------------
    target     prot opt source               destination         
    f2b-postfix-sasl  tcp  --  [anywhere]/0            [anywhere]/0            multiport dports 25
    f2b-sshd   tcp  --  [anywhere]/0            [anywhere]/0            multiport dports 22
    ufw-before-logging-input  all  --  [anywhere]/0            [anywhere]/0           
    ufw-before-input  all  --  [anywhere]/0            [anywhere]/0           
    ufw-after-input  all  --  [anywhere]/0            [anywhere]/0           
    ufw-after-logging-input  all  --  [anywhere]/0            [anywhere]/0           
    ufw-reject-input  all  --  [anywhere]/0            [anywhere]/0           
    ufw-track-input  all  --  [anywhere]/0            [anywhere]/0           
    
    Chain FORWARD (policy DROP)
    target     prot opt source               destination         
    ufw-before-logging-forward  all  --  [anywhere]/0            [anywhere]/0           
    ufw-before-forward  all  --  [anywhere]/0            [anywhere]/0           
    ufw-after-forward  all  --  [anywhere]/0            [anywhere]/0           
    ufw-after-logging-forward  all  --  [anywhere]/0            [anywhere]/0           
    ufw-reject-forward  all  --  [anywhere]/0            [anywhere]/0           
    ufw-track-forward  all  --  [anywhere]/0            [anywhere]/0           
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination         
    ufw-before-logging-output  all  --  [anywhere]/0            [anywhere]/0           
    ufw-before-output  all  --  [anywhere]/0            [anywhere]/0           
    ufw-after-output  all  --  [anywhere]/0            [anywhere]/0           
    ufw-after-logging-output  all  --  [anywhere]/0            [anywhere]/0           
    ufw-reject-output  all  --  [anywhere]/0            [anywhere]/0           
    ufw-track-output  all  --  [anywhere]/0            [anywhere]/0           
    
    Chain f2b-postfix-sasl (1 references)
    target     prot opt source               destination         
    REJECT     all  --  ***.***.***.***         [anywhere]/0            reject-with icmp-port-unreachable
    REJECT     all  --  ***.***.***.***         [anywhere]/0            reject-with icmp-port-unreachable
    RETURN     all  --  [anywhere]/0            [anywhere]/0           
    
    Chain f2b-sshd (1 references)
    target     prot opt source               destination         
    REJECT     all  --  ***.***.***.***      [anywhere]/0            reject-with icmp-port-unreachable
    REJECT     all  --  ***.***.***.***       [anywhere]/0            reject-with icmp-port-unreachable
    REJECT     all  --  ***.***.***.***         [anywhere]/0            reject-with icmp-port-unreachable
    REJECT     all  --  ***.***.***.***        [anywhere]/0            reject-with icmp-port-unreachable
    RETURN     all  --  [anywhere]/0            [anywhere]/0           
    
    Chain ufw-after-forward (1 references)
    target     prot opt source               destination         
    
    Chain ufw-after-input (1 references)
    target     prot opt source               destination         
    ufw-skip-to-policy-input  udp  --  [anywhere]/0            [anywhere]/0            udp dpt:137
    ufw-skip-to-policy-input  udp  --  [anywhere]/0            [anywhere]/0            udp dpt:138
    ufw-skip-to-policy-input  tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:139
    ufw-skip-to-policy-input  tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:445
    ufw-skip-to-policy-input  udp  --  [anywhere]/0            [anywhere]/0            udp dpt:67
    ---------------------
    ufw-skip-to-policy-input  all  --  [anywhere]/0            [anywhere]/0            ADDRTYPE match dst-type BROADCAST
    
    Chain ufw-after-logging-forward (1 references)
    target     prot opt source               destination         
    LOG        all  --  [anywhere]/0            [anywhere]/0            limit: avg 3/min burst 10 LOG flags 0 level 4 prefix "[UFW BLOCK] "
    
    Chain ufw-after-logging-input (1 references)
    target     prot opt source               destination         
    LOG        all  --  [anywhere]/0            [anywhere]/0            limit: avg 3/min burst 10 LOG flags 0 level 4 prefix "[UFW BLOCK] "
    
    Chain ufw-after-logging-output (1 references)
    target     prot opt source               destination         
    
    Chain ufw-after-output (1 references)
    target     prot opt source               destination         
    
    Chain ufw-before-forward (1 references)
    target     prot opt source               destination         
    ACCEPT     all  --  [anywhere]/0            [anywhere]/0            ctstate RELATED,ESTABLISHED
    ACCEPT     icmp --  [anywhere]/0            [anywhere]/0            icmptype 3
    ACCEPT     icmp --  [anywhere]/0            [anywhere]/0            icmptype 11
    ACCEPT     icmp --  [anywhere]/0            [anywhere]/0            icmptype 12
    ACCEPT     icmp --  [anywhere]/0            [anywhere]/0            icmptype 8
    ufw-user-forward  all  --  [anywhere]/0            [anywhere]/0           
    
    Chain ufw-before-input (1 references)
    target     prot opt source               destination         
    ACCEPT     all  --  [anywhere]/0            [anywhere]/0           
    ACCEPT     all  --  [anywhere]/0            [anywhere]/0            ctstate RELATED,ESTABLISHED
    ufw-logging-deny  all  --  [anywhere]/0            [anywhere]/0            ctstate INVALID
    DROP       all  --  [anywhere]/0            [anywhere]/0            ctstate INVALID
    ACCEPT     icmp --  [anywhere]/0            [anywhere]/0            icmptype 3
    ACCEPT     icmp --  [anywhere]/0            [anywhere]/0            icmptype 11
    ACCEPT     icmp --  [anywhere]/0            [anywhere]/0            icmptype 12
    ACCEPT     icmp --  [anywhere]/0            [anywhere]/0            icmptype 8
    ACCEPT     udp  --  [anywhere]/0            [anywhere]/0            udp spt:67 dpt:68
    ufw-not-local  all  --  [anywhere]/0            [anywhere]/0           
    ACCEPT     udp  --  [anywhere]/0            ***.***.***.***          udp dpt:5353
    ACCEPT     udp  --  [anywhere]/0            ***.***.***.***      udp dpt:1900
    ufw-user-input  all  --  [anywhere]/0            [anywhere]/0           
    
    Chain ufw-before-logging-forward (1 references)
    target     prot opt source               destination         
    
    Chain ufw-before-logging-input (1 references)
    target     prot opt source               destination         
    
    Chain ufw-before-logging-output (1 references)
    target     prot opt source               destination         
    
    Chain ufw-before-output (1 references)
    target     prot opt source               destination         
    --------------
    ACCEPT     all  --  [anywhere]/0            [anywhere]/0            ctstate RELATED,ESTABLISHED
    ufw-user-output  all  --  [anywhere]/0            [anywhere]/0           
    
    Chain ufw-logging-allow (0 references)
    target     prot opt source               destination         
    LOG        all  --  [anywhere]/0            [anywhere]/0            limit: avg 3/min burst 10 LOG flags 0 level 4 prefix "[UFW ALLOW] "
    
    Chain ufw-logging-deny (2 references)
    target     prot opt source               destination         
    RETURN     all  --  [anywhere]/0            [anywhere]/0            ctstate INVALID limit: avg 3/min burst 10
    LOG        all  --  [anywhere]/0            [anywhere]/0            limit: avg 3/min burst 10 LOG flags 0 level 4 prefix "[UFW BLOCK] "
    
    Chain ufw-not-local (1 references)
    target     prot opt source               destination         
    RETURN     all  --  [anywhere]/0            [anywhere]/0            ADDRTYPE match dst-type LOCAL
    RETURN     all  --  [anywhere]/0            [anywhere]/0            ADDRTYPE match dst-type MULTICAST
    RETURN     all  --  [anywhere]/0            [anywhere]/0            ADDRTYPE match dst-type BROADCAST
    ufw-logging-deny  all  --  [anywhere]/0            [anywhere]/0            limit: avg 3/min burst 10
    DROP       all  --  [anywhere]/0            [anywhere]/0           
    
    Chain ufw-reject-forward (1 references)
    target     prot opt source               destination         
    
    Chain ufw-reject-input (1 references)
    target     prot opt source               destination         
    
    Chain ufw-reject-output (1 references)
    target     prot opt source               destination         
    
    Chain ufw-skip-to-policy-forward (0 references)
    target     prot opt source               destination         
    DROP       all  --  [anywhere]/0            [anywhere]/0           
    
    Chain ufw-skip-to-policy-input (7 references)
    target     prot opt source               destination         
    DROP       all  --  [anywhere]/0            [anywhere]/0           
    
    Chain ufw-skip-to-policy-output (0 references)
    target     prot opt source               destination         
    ACCEPT     all  --  [anywhere]/0            [anywhere]/0           
    
    Chain ufw-track-forward (1 references)
    target     prot opt source               destination         
    
    Chain ufw-track-input (1 references)
    target     prot opt source               destination         
    
    Chain ufw-track-output (1 references)
    target     prot opt source               destination         
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            ctstate NEW
    ACCEPT     udp  --  [anywhere]/0            [anywhere]/0            ctstate NEW
    --------------
    target     prot opt source               destination         
    
    Chain ufw-user-input (1 references)
    target     prot opt source               destination         
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:20
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:21
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:22
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:25
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:80
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:443
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            multiport dports 40110:40210
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:110
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:143
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:465
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:587
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:993
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:995
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:53
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:8080
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:8081
    ACCEPT     udp  --  [anywhere]/0            [anywhere]/0            udp dpt:53
    
    Chain ufw-user-limit (0 references)
    target     prot opt source               destination         
    LOG        all  --  [anywhere]/0            [anywhere]/0            limit: avg 3/min burst 5 LOG flags 0 level 4 prefix "[UFW LIMIT BLOCK] "
    REJECT     all  --  [anywhere]/0            [anywhere]/0            reject-with icmp-port-unreachable
    
    Chain ufw-user-limit-accept (0 references)
    target     prot opt source               destination         
    ACCEPT     all  --  [anywhere]/0            [anywhere]/0           
    
    Chain ufw-user-logging-forward (0 references)
    target     prot opt source               destination         
    
    Chain ufw-user-logging-input (0 references)
    target     prot opt source               destination         
    
    Chain ufw-user-logging-output (0 references)
    target     prot opt source               destination         
    
    Chain ufw-user-output (1 references)
    target     prot opt source               destination         
    
    
    
    
    ##### LET'S ENCRYPT #####
    [WARN] You have both certbot and acme.sh installed. This can lead to problems.
    Certbot: /usr/bin/letsencrypt
    acme.sh: /root/.acme.sh/acme.sh
    
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    chsdaiguil likes this.
  5. chsdaiguil

    chsdaiguil Member HowtoForge Supporter

    Error logs /var/log/apache2/error.log

    Code:
    [Tue Feb 11 10:20:46.589599 2025] [proxy_fcgi:error] [pid 1199861:tid 1199866] [remote 92.95.203.170:47850] AH01071: Got error 'PHP message: PHP Fatal error:  Array and string offset access syntax with curly braces is no longer support>
    [Tue Feb 11 10:20:47.978898 2025] [proxy_fcgi:error] [pid 1199861:tid 1199867] [remote 92.95.203.170:47850] AH01071: Got error 'PHP message: PHP Fatal error:  Array and string offset access syntax with curly braces is no longer support>
    [Tue Feb 11 10:20:48.588810 2025] [proxy_fcgi:error] [pid 1199861:tid 1199868] [remote 92.95.203.170:47850] AH01071: Got error 'PHP message: PHP Fatal error:  Array and string offset access syntax with curly braces is no longer support>
    [Tue Feb 11 10:20:48.889802 2025] [proxy_fcgi:error] [pid 1199861:tid 1199869] [remote 92.95.203.170:47850] AH01071: Got error 'PHP message: PHP Fatal error:  Array and string offset access syntax with curly braces is no longer support>
    [Tue Feb 11 10:20:49.160134 2025] [proxy_fcgi:error] [pid 1199861:tid 1199870] [remote 92.95.203.170:47850] AH01071: Got error 'PHP message: PHP Fatal error:  Array and string offset access syntax with curly braces is no longer support>
    [Tue Feb 11 10:21:50.937460 2025] [access_compat:error] [pid 1199861:tid 1199871] [remote 92.95.203.170:45904] AH01797: client denied by server configuration: /var/www/ispconfig/
    [Tue Feb 11 10:21:51.043789 2025] [access_compat:error] [pid 1199861:tid 1199872] [remote 92.95.203.170:45904] AH01797: client denied by server configuration: /var/www/ispconfig/favicon.ico, referer: https://server1.lesmielises.biz:808>
    PHP Warning:  PHP Startup: Unable to load dynamic library 'geos.so' (tried: /usr/lib/php/20230831/geos.so (/usr/lib/php/20230831/geos.so: cannot open shared object file: No such file or directory), /usr/lib/php/20230831/geos.so.so (/us>
    PHP Warning:  PHP Startup: Unable to load dynamic library 'geos.so' (tried: /usr/lib/php/20230831/geos.so (/usr/lib/php/20230831/geos.so: cannot open shared object file: No such file or directory), /usr/lib/php/20230831/geos.so.so (/us>
    PHP Warning:  Module "uploadprogress" is already loaded in Unknown on line 0
    PHP Warning:  Module "uploadprogress" is already loaded in Unknown on line 0
    PHP Warning:  PHP Startup: Unable to load dynamic library 'geos.so' (tried: /usr/lib/php/20230831/geos.so (/usr/lib/php/20230831/geos.so: cannot open shared object file: No such file or directory), /usr/lib/php/20230831/geos.so.so (/us>
    PHP Warning:  PHP Startup: Unable to load dynamic library 'geos.so' (tried: /usr/lib/php/20230831/geos.so (/usr/lib/php/20230831/geos.so: cannot open shared object file: No such file or directory), /usr/lib/php/20230831/geos.so.so (/us>
    PHP Warning:  Module "uploadprogress" is already loaded in Unknown on line 0
    PHP Warning:  Invalid "apc.shm_size" setting. Invalid quantity "64MB": unknown multiplier "B", interpreting as "64" for backwards compatibility in Unknown on line 0
    PHP Warning:  PHP Startup: apc.shm_size now uses M/G suffixes, please update your ini files in Unknown on line 0
    PHP Warning:  PHP Startup: Unable to load dynamic library 'geos.so' (tried: /usr/lib/php/20230831/geos.so (/usr/lib/php/20230831/geos.so: cannot open shared object file: No such file or directory), /usr/lib/php/20230831/geos.so.so (/us>
    PHP Warning:  PHP Startup: Unable to load dynamic library 'geos.so' (tried: /usr/lib/php/20230831/geos.so (/usr/lib/php/20230831/geos.so: cannot open shared object file: No such file or directory), /usr/lib/php/20230831/geos.so.so (/us>
    PHP Warning:  Module "uploadprogress" is already loaded in Unknown on line 0
    PHP Warning:  Invalid "apc.shm_size" setting. Invalid quantity "64MB": unknown multiplier "B", interpreting as "64" for backwards compatibility in Unknown on line 0
    PHP Warning:  PHP Startup: apc.shm_size now uses M/G suffixes, please update your ini files in Unknown on line 0
    PHP Warning:  Module "uploadprogress" is already loaded in Unknown on line 0
    PHP Warning:  Invalid "apc.shm_size" setting. Invalid quantity "64MB": unknown multiplier "B", interpreting as "64" for backwards compatibility in Unknown on line 0
    PHP Warning:  PHP Startup: apc.shm_size now uses M/G suffixes, please update your ini files in Unknown on line 0
    PHP Warning:  PHP Startup: Unable to load dynamic library 'geos.so' (tried: /usr/lib/php/20230831/geos.so (/usr/lib/php/20230831/geos.so: cannot open shared object file: No such file or directory), /usr/lib/php/20230831/geos.so.so (/us>
    PHP Warning:  Module "uploadprogress" is already loaded in Unknown on line 0
    PHP Warning:  Invalid "apc.shm_size" setting. Invalid quantity "64MB": unknown multiplier "B", interpreting as "64" for backwards compatibility in Unknown on line 0
    PHP Warning:  PHP Startup: apc.shm_size now uses M/G suffixes, please update your ini files in Unknown on line 0
    
    Error logs : /var/log/apache2/access.log

    Code:
    170.64.208.25 - - [11/Feb/2025:08:28:33 +0100] "GET /.git/config HTTP/1.1" 404 397 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36"
    ::1 - - [11/Feb/2025:08:30:04 +0100] "GET / HTTP/1.1" 200 10985 "-" "Mozilla/5.0 (ISPConfig monitor)"
    ::1 - - [11/Feb/2025:08:35:03 +0100] "GET / HTTP/1.1" 200 10985 "-" "Mozilla/5.0 (ISPConfig monitor)"
    87.120.112.20 - - [11/Feb/2025:08:36:37 +0100] "GET /.env HTTP/1.1" 404 360 "-" "Mozilla/5.0 (Linux; Android 9; Redmi Note 6 Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Mobile Safari/537.36"
    ::1 - - [11/Feb/2025:08:40:02 +0100] "GET / HTTP/1.1" 200 10985 "-" "Mozilla/5.0 (ISPConfig monitor)"
    ::1 - - [11/Feb/2025:08:45:03 +0100] "GET / HTTP/1.1" 200 10985 "-" "Mozilla/5.0 (ISPConfig monitor)"
    ::1 - - [11/Feb/2025:08:50:03 +0100] "GET / HTTP/1.1" 200 10985 "-" "Mozilla/5.0 (ISPConfig monitor)"
    66.240.205.34 - - [11/Feb/2025:08:54:04 +0100] "Gh0st\xad" 400 392 "-" "-"
    ::1 - - [11/Feb/2025:08:55:05 +0100] "GET / HTTP/1.1" 200 10985 "-" "Mozilla/5.0 (ISPConfig monitor)"
    ::1 - - [11/Feb/2025:09:00:05 +0100] "GET / HTTP/1.1" 200 10985 "-" "Mozilla/5.0 (ISPConfig monitor)"
    ::1 - - [11/Feb/2025:09:05:05 +0100] "GET / HTTP/1.1" 200 10985 "-" "Mozilla/5.0 (ISPConfig monitor)"
    ::1 - - [11/Feb/2025:09:10:07 +0100] "GET / HTTP/1.1" 200 10985 "-" "Mozilla/5.0 (ISPConfig monitor)"
    185.247.137.180 - - [11/Feb/2025:09:11:34 +0100] "GET / HTTP/1.1" 200 3353 "-" "Mozilla/5.0 (compatible; InternetMeasurement/1.0; +https://internet-measurement.com/)"
    ::1 - - [11/Feb/2025:09:15:04 +0100] "GET / HTTP/1.1" 200 10985 "-" "Mozilla/5.0 (ISPConfig monitor)"
    ::1 - - [11/Feb/2025:09:20:03 +0100] "GET / HTTP/1.1" 200 10985 "-" "Mozilla/5.0 (ISPConfig monitor)"
    ::1 - - [11/Feb/2025:09:25:03 +0100] "GET / HTTP/1.1" 200 10985 "-" "Mozilla/5.0 (ISPConfig monitor)"
    ::1 - - [11/Feb/2025:09:30:04 +0100] "GET / HTTP/1.1" 200 10985 "-" "Mozilla/5.0 (ISPConfig monitor)"
    209.127.97.196 - - [11/Feb/2025:09:30:56 +0100] "\x16\x03\x03\x01\x8b\x01" 400 392 "-" "-"
    193.68.89.10 - - [11/Feb/2025:09:34:37 +0100] "GET / HTTP/1.1" 200 3390 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36 Edg/90.0.818.46"
    ::1 - - [11/Feb/2025:09:35:02 +0100] "GET / HTTP/1.1" 200 10985 "-" "Mozilla/5.0 (ISPConfig monitor)"
    ::1 - - [11/Feb/2025:09:40:03 +0100] "GET / HTTP/1.1" 200 10985 "-" "Mozilla/5.0 (ISPConfig monitor)"
    193.68.89.10 - - [11/Feb/2025:09:44:41 +0100] "GET / HTTP/1.1" 200 3390 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36 Edg/90.0.818.46"
    ::1 - - [11/Feb/2025:09:45:05 +0100] "GET / HTTP/1.1" 200 10985 "-" "Mozilla/5.0 (ISPConfig monitor)"
    147.185.132.82 - - [11/Feb/2025:09:49:50 +0100] "GET / HTTP/1.1" 200 10978 "-" "Expanse, a Palo Alto Networks company, searches across the global IPv4 space multiple times per day to identify customers' presences on the Internet. I>
    ::1 - - [11/Feb/2025:09:50:03 +0100] "GET / HTTP/1.1" 200 10985 "-" "Mozilla/5.0 (ISPConfig monitor)"
    ::1 - - [11/Feb/2025:09:55:03 +0100] "GET / HTTP/1.1" 200 10985 "-" "Mozilla/5.0 (ISPConfig monitor)"
    ::1 - - [11/Feb/2025:10:00:03 +0100] "GET / HTTP/1.1" 200 10985 "-" "Mozilla/5.0 (ISPConfig monitor)"
    179.43.160.138 - - [11/Feb/2025:10:04:23 +0100] "GET / HTTP/1.1" 200 3390 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36 Edg/90.0.818.46"
    ::1 - - [11/Feb/2025:10:05:03 +0100] "GET / HTTP/1.1" 200 10985 "-" "Mozilla/5.0 (ISPConfig monitor)"
    ::1 - - [11/Feb/2025:10:10:02 +0100] "GET / HTTP/1.1" 200 10985 "-" "Mozilla/5.0 (ISPConfig monitor)"
    ::1 - - [11/Feb/2025:10:15:03 +0100] "GET / HTTP/1.1" 200 10985 "-" "Mozilla/5.0 (ISPConfig monitor)"
    ::1 - - [11/Feb/2025:10:20:03 +0100] "GET / HTTP/1.1" 200 10985 "-" "Mozilla/5.0 (ISPConfig monitor)"
    179.43.160.138 - - [11/Feb/2025:10:22:25 +0100] "GET / HTTP/1.1" 200 3390 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36 Edg/90.0.818.46"
    ::1 - - [11/Feb/2025:10:25:03 +0100] "GET / HTTP/1.1" 200 10985 "-" "Mozilla/5.0 (ISPConfig monitor)"
    ::1 - - [11/Feb/2025:10:30:03 +0100] "GET / HTTP/1.1" 200 10985 "-" "Mozilla/5.0 (ISPConfig monitor)"
    ::1 - - [11/Feb/2025:10:35:03 +0100] "GET / HTTP/1.1" 200 10985 "-" "Mozilla/5.0 (ISPConfig monitor)"
    ::1 - - [11/Feb/2025:10:40:03 +0100] "GET / HTTP/1.1" 200 10985 "-" "Mozilla/5.0 (ISPConfig monitor)"
    
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    See posts #2 and #4 for what you must do to fix your server. Besides that, you seem to have altered various settings in PHP 8.1 manually with the wrong settings, which you should fix, too. E.g. config values in megabytes in PHP config files are just "M" and not "MB". Do not load modules that do not exist; this will not make PHP fail, but it will cause a lot of warnings in the logs.
     
  7. chsdaiguil

    chsdaiguil Member HowtoForge Supporter

    I put php7.4 back by default
    restart fpm and apache2

    ispconfig administration works, as well as our sites

    /webmail asks me:
    Unsupported PHP version. Required PHP >= 5.4 and < 8.0. You might need to manually install the phpX.Y package (for X.Y < 8.0) as well as phpX.Y-{cli,intl,json,mbstring}.

    /phpmyadmin/
    always returns a blank page
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Then you still have not fully set PHP back to 7.4. Did you run all the commands from the guide to set php fcgi, CGI, and the php-fpm socket back to its original version? As a general note, never change the default PHP version of your system, as this will cause system packages that use PHP to fail. System PHP version upgrades only when the Debian version gets upgraded. For websites, you can choose any PHP version you have installed and select that in the site, there is no need to alter the default version for sites.
     
  9. chsdaiguil

    chsdaiguil Member HowtoForge Supporter

    These blank pages /phpmyadmin have appeared since I followed this tutorial https://www.howtoforge.com/how-to-enable-http-2-in-apache/

    I had installed php8.1, because this command did not work

    sudo a2dismod php7.4

    It still does not work

    sudo a2dismod php7.4
    ERROR: Module php7.4 does not exist!
     
  10. chsdaiguil

    chsdaiguil Member HowtoForge Supporter

    oui :
    Code:
    update-alternatives --config php
    There are 5 choices for the alternative php (providing /usr/bin/php).
    
      Selection    Path                  Priority   Status
    ------------------------------------------------------------
      0            /usr/bin/php.default   100       auto mode
      1            /usr/bin/php.default   100       manual mode
    * 2            /usr/bin/php7.4        74        manual mode
      3            /usr/bin/php8.1        81        manual mode
      4            /usr/bin/php8.2        82        manual mode
      5            /usr/bin/php8.3        83        manual mode
    
    Code:
    update-alternatives --config php-cgi
    There are 4 choices for the alternative php-cgi (providing /usr/bin/php-cgi).
    
      Selection    Path                 Priority   Status
    ------------------------------------------------------------
      0            /usr/bin/php-cgi8.3   83        auto mode
    * 1            /usr/bin/php-cgi7.4   74        manual mode
      2            /usr/bin/php-cgi8.1   81        manual mode
      3            /usr/bin/php-cgi8.2   82        manual mode
      4            /usr/bin/php-cgi8.3   83        manual mode
    
    Code:
    update-alternatives --config php-fpm.sock
    There are 4 choices for the alternative php-fpm.sock (providing /run/php/php-fpm.sock).
    
      Selection    Path                      Priority   Status
    ------------------------------------------------------------
      0            /run/php/php8.3-fpm.sock   83        auto mode
    * 1            /run/php/php7.4-fpm.sock   74        manual mode
      2            /run/php/php8.1-fpm.sock   81        manual mode
      3            /run/php/php8.2-fpm.sock   82        manual mode
      4            /run/php/php8.3-fpm.sock   83        manual mode
    
     
  11. till

    till Super Moderator Staff Member ISPConfig Developer

    The guide you used is not for ISPConfig systems. The command "a2dismod php7.4" must have failed as your system was not using mod_php, so this command should not be run on a recent ISPConfig server. You can try this:

    Code:
    a2disconf php8.1-fpm
    a2enconf php7.4-fpm
    and then restart Apache.
     
  12. chsdaiguil

    chsdaiguil Member HowtoForge Supporter

    works. Thanks a lot
     

Share This Page