Problem installing PHP 8.3 on Ubuntu VPS

When I try to change domain name to PHP 8.3 on Hestiacp I get Error: php-fpm pool doesn’t exist
When I try to install PHP 8.3 from ssh I get this
root@cp:~# apt-get install php8.3-common php8.3-mbstring php8.3-bcmath php8.3-cli php8.3-curl php8.3-fpm php8.3-gd php8.3-intl php8.3-mysql php8.3-soap php8.3-xml php8.3-zip php8.3-bz2 php8.3-pspell php8.3-imagick php8.3-imap php8.3-ldap php8.3-apcu

Reading package lists… Done

Building dependency tree

Reading state information… Done

E: Unable to locate package php8.3-mbstring

E: Couldn’t find any package by glob ‘php8.3-mbstring’

E: Couldn’t find any package by regex ‘php8.3-mbstring’

E: Unable to locate package php8.3-bcmath

E: Couldn’t find any package by glob ‘php8.3-bcmath’

E: Couldn’t find any package by regex ‘php8.3-bcmath’

E: Unable to locate package php8.3-cli

E: Couldn’t find any package by glob ‘php8.3-cli’

E: Couldn’t find any package by regex ‘php8.3-cli’

E: Unable to locate package php8.3-fpm

E: Couldn’t find any package by glob ‘php8.3-fpm’

E: Couldn’t find any package by regex ‘php8.3-fpm’

E: Unable to locate package php8.3-mysql

E: Couldn’t find any package by glob ‘php8.3-mysql’

E: Couldn’t find any package by regex ‘php8.3-mysql’

E: Unable to locate package php8.3-soap

E: Couldn’t find any package by glob ‘php8.3-soap’

E: Couldn’t find any package by regex ‘php8.3-soap’

E: Unable to locate package php8.3-xml

E: Couldn’t find any package by glob ‘php8.3-xml’

E: Couldn’t find any package by regex ‘php8.3-xml’

E: Unable to locate package php8.3-bz2

E: Couldn’t find any package by glob ‘php8.3-bz2’

E: Couldn’t find any package by regex ‘php8.3-bz2’

E: Unable to locate package php8.3-pspell

E: Couldn’t find any package by glob ‘php8.3-pspell’

E: Couldn’t find any package by regex ‘php8.3-pspell’

E: Unable to locate package php8.3-imagick

E: Couldn’t find any package by glob ‘php8.3-imagick’

E: Couldn’t find any package by regex ‘php8.3-imagick’

E: Unable to locate package php8.3-imap

E: Couldn’t find any package by glob ‘php8.3-imap’

E: Couldn’t find any package by regex ‘php8.3-imap’

E: Unable to locate package php8.3-ldap

E: Couldn’t find any package by glob ‘php8.3-ldap’

E: Couldn’t find any package by regex ‘php8.3-ldap’

E: Unable to locate package php8.3-apcu

E: Couldn’t find any package by glob ‘php8.3-apcu’

E: Couldn’t find any package by regex ‘php8.3-apcu’

Please help

Are you using Ubuntu 20.04? If so, you won’t be able to use the Sury repositories to install or update PHP.

1 Like

You are right I’m using Ubuntu 20,04, so if I update it to higher version will it damage my vps setup? or it is safe? Thank you sir

Before upgrading, you must backup all your data and conf. If your hosting provider offers a snapshots option, create a snapshot before performing the OS upgrade.

Also, always upgrade to the next version (e.g., from 20.04 to 22.04), never directly from 20.04 to 24.04.

And follow the steps in Hestia doc for that OS upgrade.

1 Like

Thank you so much Mr Sahsanu I really appriciate your help Best regards

1 Like

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