/
/
Error opening phpMyAdmin «Due to packaging complexities PHP 8.2.0+ is required»

Error opening phpMyAdmin «Due to packaging complexities PHP 8.2.0+ is required»

Symptoms

The following error is displayed when switching to phpMyAdmin:

Due to packaging complexities PHP 8.2.0+ is required (Ubuntu Launchpad bug #2016016 and phpMyAdmin issue #17503).

Causes

  • The «Apache module» handler mode is used by an alternative version of PHP.
  • PHP-FPM is not installed.

Solution

Important!

Before applying this solution, be sure to create backups of your site configuration files:

  1. If the version is changed to the «Apache module», all sites running on it will change their PHP version.
  2. If Nginx is installed, your site configuration files will be recreated by a template.

There are two possible solutions:

  1. Set the «Apache module» handler mode to only support the native version of PHP in the PHP section.
  2. Install the Nginx web server and the PHP-FPM module in the Software Configuration - Web Server section.

In this article