I have a machine with Debian 10.
On this machine a would install backup software (CBackup is software https://cbackup.me/en/).
I have installed PHP version 7.1 using this guide https://www.itzgeek.com/how-tos/linux/d ... ian-8.html, due to I had problem with php-mcrypt if I use PHP 7.4 version (default PHP version with Debian 10).
PHP 7.1 is installed properly in my opinion. This is output of "php -v" command:
Code: Select all
root@hostname:~# php -v
PHP 7.1.33-17+0~20200807.39+debian10~1.gbp032d47 (cli) (built: Aug 7 2020 15:00:57) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.1.33-17+0~20200807.39+debian10~1.gbp032d47, Copyright (c) 1999-2018, by Zend Technologies
Code: Select all
pkg: package libgcc1 pre-depends on php (>= 7.0)
php is not installed
Code: Select all
update-alternatives --set php /usr/bin/php7.1
Code: Select all
apt show php -a
Package: php
Version: 2:7.4+76+0~20200511.26+debian10~1.gbpc9beb6
Priority: optional
Section: php
Source: php-defaults (76+0~20200511.26+debian10~1.gbpc9beb6)
Maintainer: Debian PHP Maintainers <team+pkg-php@tracker.debian.org>
Installed-Size: 13,3 kB
Depends: php7.4
Download-Size: 6.524 B
APT-Sources: https://packages.sury.org/php buster/main amd64 Packages
Description: server-side, HTML-embedded scripting language (default)
PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used
open source general-purpose scripting language that is especially suited
for web development and can be embedded into HTML.
.
This package is a dependency package, which depends on latest stable
PHP version (currently 7.4).
Package: php
Version: 2:7.3+69
Priority: optional
Section: php
Source: php-defaults (69)
Maintainer: Debian PHP Maintainers <team+pkg-php@tracker.debian.org>
Installed-Size: 12,3 kB
Depends: php7.3
Download-Size: 5.964 B
APT-Sources: http://ftp.it.debian.org/debian buster/main amd64 Packages
Description: linguaggio di scripting incorporato nell'HTML, lato server (predefinito)
PHP (acronimo ricorsivo di PHP: Hypertext Preprocessor) è un linguaggio di
scripting open source generico largamente usato che è particolarmente
adatto per lo sviluppo web e che può essere incorporato nell'HTML.
.
Questo è un pacchetto di dipendenze, che dipende dalla versione stabile più
recente di PHP (attualmente la 7.3).
Is there a way to fix it?
Thanks so much in advanced!