我使用自制软件安装了 phpmyadmin。我遵循了自制软件网站上列出的所有说明。当我打开 localhost://phpmyadmin 时,出现以下错误
PHP 7.2.5+ is required.
Currently installed version is: ' . PHP_VERSION . '
'); } // phpcs:disable PSR1.Files.SideEffects define('PHPMYADMIN', true); // phpcs:enable require_once ROOT_PATH . 'libraries/constants.php'; /** * Activate autoloader */ if (! @is_readable(AUTOLOAD_FILE)) { die( '
File ' . AUTOLOAD_FILE . ' missing or not readable.
' . '
Most likely you did not run Composer to ' . '' . 'install library files.
> require AUTOLOAD_FILE; global $route, $containerBuilder, $request; Common::run(); $dispatcher = Routing::getDispatcher(); Routing::callControllerForRoute($request, $route, $dispatcher, $containerBuilder);
我也试过从 phpmyadmin 网站下载文件,但还是不行。
发生这种情况,因为您的 php 版本与 phpmyadmin 的最低要求的 php 版本不兼容。
要解决这个问题,您可以做两件事: