3 declare(strict_types
=1);
5 use PhpMyAdmin\Application
;
7 // phpcs:disable PSR1.Files.SideEffects
8 if (! defined('ROOT_PATH')) {
9 define('ROOT_PATH', dirname(__DIR__
) . DIRECTORY_SEPARATOR
);
12 define('PHPMYADMIN', true);
15 if (PHP_VERSION_ID
< 80102) {
16 die('<p>PHP 8.1.2+ is required.</p><p>Currently installed version is: ' . PHP_VERSION
. '</p>');
19 require_once ROOT_PATH
. 'app/constants.php';
21 if (! @is_readable
(AUTOLOAD_FILE
)) {
23 '<p>File <samp>' . AUTOLOAD_FILE
. '</samp> missing or not readable.</p>'
24 . '<p>Most likely you did not run Composer to '
25 . '<a href="https://docs.phpmyadmin.net/en/latest/setup.html#installing-from-git">'
26 . 'install library files</a>.</p>'
30 require AUTOLOAD_FILE
;
32 Application
::init()->run();