Debian 9 - upgrade PHP 7.0 to 7.3/4

Discussion in 'ISPConfig 3 Priority Support' started by Lucav87, May 6, 2020.

  1. Lucav87

    Lucav87 New Member

    Good morning,
    I would like to upgrade my version of php 7.0 to version 7.3/4 .. is there a simple howto to upgrade?

    [email protected]:~# lsb_release -a
    No LSB modules are available.
    Distributor ID: Debian
    Description:    Debian GNU/Linux 9.12 (stretch)
    Release:        9.12
    Codename:       stretch

    [email protected]:~# php -v
    PHP 7.0.33-0+deb9u7 (cli) (built: Feb 16 2020 15:11:40) ( NTS )
    Copyright (c) 1997-2017 The PHP Group
    Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
        with Zend OPcache v7.0.33-0+deb9u7, Copyright (c) 1999-2017, by Zend Technologies
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. Lucav87

    Lucav87 New Member

    thanks for the reply,
    I added PHP 7.4 from isconfig
    I followed the procedure in the tutorial, but when I run the command to install php 7.4 I get this error:
    [email protected]:~# apt-get install php7.4 php7.4-cli php7.4-cgi php7.4-fpm php7.4-gd php7.4-mysql php7.4-imap php7.4-curl php7.4-intl php7.4-pspell php7.4-sqlite3 php7.4-tidy php7.4-xmlrpc php7.4-xsl php7.4-zip php7.4-mbstring php7.4-soap php7.4-opcache libonig5 php7.4-common php7.4-json php7.4-readline php7.4-xml
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package libonig5
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    It might be that 7.4 is not installable then on your Debian version, try installing 7.3 instead then. And you should consider updating your server to the current Debian stable version in the mid term.

Share This Page