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? Code: root@srv:~# lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 9.12 (stretch) Release: 9.12 Codename: stretch and Code: root@srv:~# 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 Thanks!
The system PHP gets upgraded when you upgrade to a new OS major release. Do not upgrade the system PHP version manually. If you have websites which need a newer or older PHP version, install them as additional PHP versions: https://www.howtoforge.com/tutorial...fig-3-from-debian-packages-on-debian-8-and-9/
Hello, 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: Code: root@srv:~# 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
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.