Fehler php7

  • Hallo,
    ich habe meinen Testserver mit aktueller Liveconfig Version auf debian 9 geupdatet. Dann habe ich php7 und php7.1 installiert. Wenn ich zb. roundcube auf php7 und php7.1 umstelle ist alles gut.


    Allerdings bekomme ich beim Aufrufen der info.php ein error.


    Leider scheint da einiges im argen zu sein.


    In der error.log steht folgendes.
    lclogsplit: received SIGTERM
    [Fri Jun 15 08:39:52.878809 2018] [ssl:warn] [pid 1100:tid 139861224191872] AH01909: default:443:0 server certificate does NOT include an ID which matches the server name
    [Fri Jun 15 08:39:52.878950 2018] [mpm_event:notice] [pid 1100:tid 139861224191872] AH00489: Apache/2.4.10 (Debian) mod_fcgid/2.3.9 OpenSSL/1.0.1t configured -- resuming normal operations
    [Fri Jun 15 08:39:52.878961 2018] [core:notice] [pid 1100:tid 139861224191872] AH00094: Command line: '/usr/sbin/apache2'
    [Fri Jun 15 08:39:52.878992 2018] [mpm_event:warn] [pid 1100:tid 139861224191872] AH00488: long lost child came home! (pid 14218)
    [Fri Jun 15 08:41:36.572945 2018] [mpm_event:notice] [pid 1100:tid 139861224191872] AH00493: SIGUSR1 received. Doing graceful restart
    lclogsplit: received SIGTERM
    [Fri Jun 15 08:41:36.672370 2018] [ssl:warn] [pid 1100:tid 139861224191872] AH01909: default:443:0 server certificate does NOT include an ID which matches the server name
    [Fri Jun 15 08:41:36.672512 2018] [mpm_event:notice] [pid 1100:tid 139861224191872] AH00489: Apache/2.4.10 (Debian) mod_fcgid/2.3.9 OpenSSL/1.0.1t configured -- resuming normal operations
    [Fri Jun 15 08:41:36.672524 2018] [core:notice] [pid 1100:tid 139861224191872] AH00094: Command line: '/usr/sbin/apache2'
    [Fri Jun 15 08:41:36.672550 2018] [mpm_event:warn] [pid 1100:tid 139861224191872] AH00488: long lost child came home! (pid 14374)
    /opt/php-7.0/bin/php-cgi: symbol lookup error: /opt/php-7.0/lib/php/extensions/no-debug-non-zts-20151012/gd.so: undefined symbol: gdVersionString
    [Fri Jun 15 08:43:54.471165 2018] [fcgid:warn] [pid 14492:tid 139861068265216] (104)Connection reset by peer: [client 83.221.80.45:50938] mod_fcgid: error reading data from FastCGI server
    [Fri Jun 15 08:43:54.471228 2018] [core:error] [pid 14492:tid 139861068265216] [client 83.221.80.45:50938] End of script output before headers: info.php
    /opt/php-7.0/bin/php-cgi: symbol lookup error: /opt/php-7.0/lib/php/extensions/no-debug-non-zts-20151012/gd.so: undefined symbol: gdVersionString
    [Fri Jun 15 08:43:58.795900 2018] [fcgid:warn] [pid 14492:tid 139861057775360] (104)Connection reset by peer: [client 83.221.80.45:50943] mod_fcgid: error reading data from FastCGI server
    [Fri Jun 15 08:43:58.795937 2018] [core:error] [pid 14492:tid 139861057775360] [client 83.221.80.45:50943] End of script output before headers: info.php
    [Fri Jun 15 08:50:27.478303 2018] [mpm_event:notice] [pid 1100:tid 139861224191872] AH00491: caught SIGTERM, shutting down
    lclogsplit: received SIGTERM
    [Fri Jun 15 08:50:48.068887 2018] [ssl:warn] [pid 527:tid 140332273002368] AH01909: default:443:0 server certificate does NOT include an ID which matches the server name
    [Fri Jun 15 08:50:48.069031 2018] [suexec:notice] [pid 527:tid 140332273002368] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
    lclogsplit: received SIGTERM
    [Fri Jun 15 08:50:48.453963 2018] [ssl:warn] [pid 557:tid 140332273002368] AH01909: default:443:0 server certificate does NOT include an ID which matches the server name
    [Fri Jun 15 08:50:48.457542 2018] [mpm_event:notice] [pid 557:tid 140332273002368] AH00489: Apache/2.4.10 (Debian) mod_fcgid/2.3.9 OpenSSL/1.0.1t configured -- resuming normal operations
    [Fri Jun 15 08:50:48.457561 2018] [core:notice] [pid 557:tid 140332273002368] AH00094: Command line: '/usr/sbin/apache2'
    /opt/php-7.0/bin/php-cgi: symbol lookup error: /opt/php-7.0/lib/php/extensions/no-debug-non-zts-20151012/gd.so: undefined symbol: gdVersionString
    [Fri Jun 15 08:54:58.284738 2018] [fcgid:warn] [pid 585:tid 140331943167744] (104)Connection reset by peer: [client 83.221.80.45:51088] mod_fcgid: error reading data from FastCGI server
    [Fri Jun 15 08:54:58.284767 2018] [core:error] [pid 585:tid 140331943167744] [client 83.221.80.45:51088] End of script output before headers: info.php
    lifeconfig diag:


    liveconfig --diag
    Running OS diagnostics... (LiveConfig 2.6.0-r4972)
    FILE SYSTEMS:
    / [/dev/simfs] (total: 107374182400, free: 105004093440)
    CPUs:
    CPU: 'cpu' user=2086 nice=72 system=322 idle=96053 wait=449 irq=0 sirq=0 steal =0
    CPU: 'cpu0' user=2086 nice=72 system=322 idle=96053 wait=449 irq=0 sirq=0 stea l=0
    CPU: 'cpu1' user=2086 nice=72 system=322 idle=96053 wait=449 irq=0 sirq=0 stea l=0
    CPU: 'cpu2' user=2086 nice=72 system=322 idle=96053 wait=449 irq=0 sirq=0 stea l=0
    CPU: 'cpu3' user=2086 nice=72 system=322 idle=96053 wait=449 irq=0 sirq=0 stea l=0
    CPU IDENTIFICATION:
    Physical CPUs: 1
    CPU Vendor: GenuineIntel
    CPU Model: Intel(R) Xeon(R) CPU E3-1220 V2 @ 3.10GHz
    Physical Core Count: 4
    Cache: 8192 KB
    LOAD AVERAGE:
    Load: 1min=0.110000, 5min=0.060000, 15min=0.010000
    MEMORY:
    Total Memory: 2147483648
    Free Memory: 1044803584
    Total Swap: 0
    Free Swap: 0
    INTERFACES:
    Name: 'lo'
    MAC: 00:00:00:00:00:00
    IPv4: '127.0.0.1'/8
    IPv6: '::1'/128
    IN: 0 bytes (0 packets)
    OUT: 0 bytes (0 packets)
    FLAGS: UP LOOPBACK
    Name: 'venet0'
    IPv4: '127.0.0.2'/32
    IN: 248989 bytes (2230 packets)
    OUT: 787220 bytes (2265 packets)
    FLAGS: UP BROADCAST NOARP
    Name: 'eth0'
    IN: 0 bytes (0 packets)
    OUT: 0 bytes (0 packets)
    FLAGS: BROADCAST
    Name: 'venet0:0'
    IPv4: '#########
    FLAGS: UP BROADCAST NOARP
    HOSTNAME:
    Hostname: 'lc1'
    FQDN: 'hostname geändert'
    UPTIME:
    Uptime: 0 days, 00:54:34
    DMI:
    ERROR: open(/dev/mem) failed: No such file or directory
    IPMI:
    ERROR: IPMI not supported in this build
    QUOTA for group 'root' at path /var/www: OK - kb_used=1686116, inodes_used=49572
    Running Lua diagnostics...
    [INFO] Detected 'Debian GNU/Linux 9.4 (n/a)'
    Distribution name: 'Debian'
    Distribution codename: 'n/a'
    Distribution family: 'Debian'
    Distribution version: '9.4'
    Distribution description: 'Debian GNU/Linux 9.4 (n/a)'
    Checking for web server software:
    - Found 'apache' web server
    Version: '2.4.10'
    Package version: '2.4.10-10+deb8u12'
    SNI support: yes
    Modules: core so watchdog http log_config logio version unixd access_compat actions alias auth_basic authn_core authn_file authz_core authz_host authz_user autoindex cgid dav dav_fs deflate dir env expires fcgid filter headers include mime mpm_event negotiation proxy proxy_http reqtimeout rewrite setenvif socache_shmcb ssl suexec
    - PHP 7.0.30 (code='php70', bin='/opt/php-7.0/bin/php-cgi', SAPI=CGI/FastCGI)
    default php.ini: '/opt/php-7.0/etc/php.ini'
    - PHP 7.1.18 (code='php71', bin='/opt/php-7.1/bin/php-cgi', SAPI=CGI/FastCGI)
    default php.ini: '/opt/php-7.1/etc/php.ini'
    - PHP 5.6.33 [DEFAULT] (code='php5', bin='/usr/bin/php-cgi', SAPI=CGI/FastCGI)
    default php.ini: '/etc/php5/cgi/php.ini'
    Checking for ftp server software:
    - Found 'proftpd' FTP server
    Version: '1.3.5'
    Package version: '1.3.5-1.1+deb8u2'
    Checking for SMTP server software:
    - Found 'postfix' smtp server
    Version: '2.11.3'
    Package version: '2.11.3-1+deb8u2'
    DANE/TLSA support: 'yes'
    - found SpamAssassin (package version: '3.4.1-6+deb9u1')
    configured: yes
    - found OpenDKIM (package version: '2.9.2-2+deb8u1')
    configured: yes
    Checking for POP/IMAP server software:
    - Found 'dovecot' POP/IMAP server
    Version: '2.2.13'
    Package version: '1:2.2.13-12~deb8u4'
    Checking for database server software:
    - Found 'mysql' database server
    Version: '5.5.60'
    Package version: '5.5.60-0+deb8u1'
    Checking for DNS server software:
    - Found 'bind' DNS server
    Version: '9.9.5'
    Package version: '1:9.9.5.dfsg-9+deb8u15'
    DNSSEC support: yes
    Done.

  • Was liefert der Befehl

    Code
    ldd /opt/php-7.0/lib/php/extensions/no-debug-non-zts-20151012/gd.so


    zurück?


    Ist das Paket "libgd3" korrekt installiert?


    Ich tippe mal darauf, dass das Upgrade nicht vollständig durchgelaufen ist und libgd nicht aktualisiert wurde.

  • Im Moment steht nur noch das in der error.log. Wie kann ich das noch beheben?


    [Fri Jun 15 10:37:37.584655 2018] [autoindex:error] [pid 585:tid 140331953657600] [client 83.221.80.45:52434] AH01276: Cannot serve directory /var/www/web0/htdocs/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive
    [Fri Jun 15 10:38:16.689018 2018] [mpm_event:notice] [pid 557:tid 140332273002368] AH00493: SIGUSR1 received. Doing graceful restart
    lclogsplit: received SIGTERM
    [Fri Jun 15 10:38:17.055210 2018] [ssl:warn] [pid 557:tid 140332273002368] AH01909: default:443:0 server certificate does NOT include an ID which matches the server name
    [Fri Jun 15 10:38:17.055340 2018] [mpm_event:notice] [pid 557:tid 140332273002368] AH00489: Apache/2.4.10 (Debian) mod_fcgid/2.3.9 OpenSSL/1.0.1t configured -- resuming normal operations
    [Fri Jun 15 10:38:17.055351 2018] [core:notice] [pid 557:tid 140332273002368] AH00094: Command line: '/usr/sbin/apache2'
    [Fri Jun 15 10:38:17.055378 2018] [mpm_event:warn] [pid 557:tid 140332273002368] AH00488: long lost child came home! (pid 567)

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!