Is it possible to install php-cli
for PHP 8.0.1 from the official remote repository, without having to modify my repo list sudo add-apt-repository ppa:ondrej/php
?
Is it possible to install php-cli
for PHP 8.0.1 from the official remote repository, without having to modify my repo list sudo add-apt-repository ppa:ondrej/php
?
To answer your question:
You need to download the dependencies
php8.0-common
,php8.0-opcache
,php8.0-readline
andphp-cli
from here then install them throughdpkg
.But installing the packages through
apt
is more preferred after adding the ppa , next time it can be removed through:NB: The installed packages will not receive any updates including the security updates. It is better to keep the ppa.