Problems with hestia panel prestashop pre-installation

good morning
I need to install version 8.1 to be able to install the version that hestiacp pre-installs but it gives me an error:

v-add-web-php 8.1
Installing PHP-8.1, please wait…
/
ERROR: Installation failed, please run the following command manually for debugging:
apt-get install php8.1-common php8.1-mbstring php8.1-bcmath php8.1-cli php8.1-curl
php8.1-fpm php8.1-gd php8.1-intl php8.1-mysql
php8.1-soap php8.1-xml php8.1-zip php8.1-bz2
php8.1-pspell php8.1-imagick php8.1-imap php8.1-ldap

How can I install php 8.1 or what preinstallation from prestashop that can be installed from hestia panel, allow to use php 8.2?

What happens if you run this command via SSH

cp: cannot create regular file ‘/etc/php/8.1/fpm/pool.d/’: No such file or directory
sed: cannot read /etc/php/8.1/fpm/pool.d/dummy.conf: No such file or directory
cp: cannot create regular file ‘/etc/php/8.1/fpm/’: No such file or directory
sed: cannot read /etc/php/8.1/fpm/php-fpm.conf: No such file or directory
sed: cannot read /etc/php/8.1/fpm/php.ini: No such file or directory
sed: cannot read /etc/php/8.1/fpm/php.ini: No such file or directory
sed: cannot read /etc/php/8.1/fpm/php.ini: No such file or directory
sed: cannot read /etc/php/8.1/fpm/php.ini: No such file or directory
sed: cannot read /etc/php/8.1/fpm/php.ini: No such file or directory
sed: cannot read /etc/php/8.1/cli/php.ini: No such file or directory
sed: cannot read /etc/php/8.1/fpm/php.ini: No such file or directory
sed: cannot read /etc/php/8.1/fpm/php.ini: No such file or directory
sed: cannot read /etc/php/8.1/fpm/php.ini: No such file or directory

I have already been able to solve it

The problem was that the sourcelist of /etc/apt/sources.list.d/ that includes hestiacp had not been updated when I updated debian 11 to 12, I changed the previous name to bookworm and now it has been able to install php8.1

Thank you

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.