Is upgrading packages need after installation of PHP 7 on Debian?

Discussion in 'Installation/Configuration' started by stefano.b, Oct 13, 2017.

  1. stefano.b

    stefano.b New Member

    I'm owner of a VPS in which I asked for activation of PHP 7, as I can read there was no problem for upgrading PHP 7 and ISPConfig.
    After the manual compilation of PHP 7 all seems to work correctly. I can select PHP 7 on the ISPConfig panel, and no problem in ISPConfig it self (stay on PHP 5.6) or any site for which I have activate the PHP 7.
    But in the Update Status panel there is a lot of package that need update. The sysadmin tel me that they can't guarantee that all work fine after packages update, and that many app can breack their configuration.
    Have you any hint on that?

    This are the technical information:

    1. Server:
    # cat /proc/version
    Linux version 3.16.0-4-amd64 ([email protected]) (gcc version 4.8.4 (Debian 4.8.4-1) ) #1 SMP Debian 3.16.39-1+deb8u2 (2017-03-07)
    Debian GNU/Linux 8 jessie

    2. PHP version
    /opt/php-7.0.20/bin# ./php -v
    PHP 7.0.20 (cli) (built: Oct  4 2017 12:25:36) ( NTS )
    Copyright (c) 1997-2017 The PHP Group
    Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
    3. ISPConfig 3.1.1p1

    4. Packages that need to be update
    Inst base-files [8+deb8u7] (8+deb8u9 Debian:8.9/oldstable [amd64])
    Conf base-files (8+deb8u9 Debian:8.9/oldstable [amd64])
    Inst login [1:4.2-3+deb8u3] (1:4.2-3+deb8u4 Debian:8.9/oldstable, Debian-Security:8/oldstable [amd64])
    Conf login (1:4.2-3+deb8u4 Debian:8.9/oldstable, Debian-Security:8/oldstable [amd64])
    Inst libc6-dev [2.19-18+deb8u7] (2.19-18+deb8u10 Debian:8.9/oldstable, Debian-Security:8/oldstable [amd64]) []
    Inst libc-dev-bin [2.19-18+deb8u7] (2.19-18+deb8u10 Debian:8.9/oldstable, Debian-Security:8/oldstable [amd64]) []
    Inst linux-libc-dev [3.16.39-1+deb8u2] (3.16.43-2+deb8u5 Debian-Security:8/oldstable [amd64]) []
    Inst rpcbind [0.2.1-6+deb8u1] (0.2.1-6+deb8u2 Debian:8.9/oldstable, Debian-Security:8/oldstable [amd64]) []
    Inst libc-bin [2.19-18+deb8u7] (2.19-18+deb8u10 Debian:8.9/oldstable, Debian-Security:8/oldstable [amd64]) []
    Conf libc-bin (2.19-18+deb8u10 Debian:8.9/oldstable, Debian-Security:8/oldstable [amd64]) []
    Inst libc6 [2.19-18+deb8u7] (2.19-18+deb8u10 Debian:8.9/oldstable, Debian-Security:8/oldstable [amd64]) []
    Conf libc6 (2.19-18+deb8u10 Debian:8.9/oldstable, Debian-Security:8/oldstable [amd64]) []
    Inst libtirpc1 [0.2.5-1] (0.2.5-1+deb8u1 Debian:8.9/oldstable, Debian-Security:8/oldstable [amd64])
    Inst libperl5.20 [5.20.2-3+deb8u6] (5.20.2-3+deb8u9 Debian-Security:8/oldstable [amd64]) []
    Inst perl [5.20.2-3+deb8u6] (5.20.2-3+deb8u9 Debian-Security:8/oldstable [amd64]) []
    Inst perl-base [5.20.2-3+deb8u6] (5.20.2-3+deb8u9 Debian-Security:8/oldstable [amd64]) []
    Conf perl-base (5.20.2-3+deb8u9 Debian-Security:8/oldstable [amd64]) []
    Inst perl-modules [5.20.2-3+deb8u6] (5.20.2-3+deb8u9 Debian-Security:8/oldstable [all])
    Inst libudev1 [215-17+deb8u6] (215-17+deb8u7 Debian:8.9/oldstable [amd64]) [udev:amd64 ]
    Conf libudev1 (215-17+deb8u7 Debian:8.9/oldstable [amd64]) [udev:amd64 ]
    Inst udev [215-17+deb8u6] (215-17+deb8u7 Debian:8.9/oldstable [amd64])
    Conf udev (215-17+deb8u7 Debian:8.9/oldstable [amd64])
    Inst linux-image-3.16.0-4-amd64 [3.16.39-1+deb8u2] (3.16.43-2+deb8u5 Debian-Security:8/oldstable [amd64])
    Inst initramfs-tools [0.120+deb8u2] (0.120+deb8u3 Debian:8.9/oldstable [all])
    Inst libsystemd0 [215-17+deb8u6] (215-17+deb8u7 Debian:8.9/oldstable [amd64]) [systemd:amd64 ]
    Conf libsystemd0 (215-17+deb8u7 Debian:8.9/oldstable [amd64]) [systemd:amd64 ]
    [I cut tons of line code for respect of limitation of 1000 characters per post, I think you get the point
    Conf sudo (1.8.10p3-1+deb8u4 Debian:8.9/oldstable, Debian-Security:8/oldstable [amd64])
    Conf tnef (1.4.9-1+deb8u3 Debian:8.9/oldstable, Debian-Security:8/oldstable [amd64])
    Conf unzip (6.0-16+deb8u3 Debian:8.9/oldstable [amd64])
    Conf os-prober (1.65+deb8u1 Debian:8.9/oldstable [amd64])
    Conf postfix (2.11.3-1+deb8u2 Debian:8.9/oldstable [amd64])
    Conf postfix-mysql (2.11.3-1+deb8u2 Debian:8.9/oldstable [amd64])
    Conf postfix-doc (2.11.3-1+deb8u2 Debian:8.9/oldstable [all])
    Have a good time!

  2. ISPConfig Developer ISPConfig Developer

    ISPConfig works fine with PHP7, you should be aware of other PHP applications/websites you're running/hosting and wether they work with PHP7, that's likely what the sysadmin meant. There's no php7 cli tools on oldstable which I'm aware of which are commonly used which could break.

    And since you do an addition and keep php 5.6 you can still switch back to that. 100% answer can only given by yourself since we can't know what you're running or need on your server.

Share This Page