LNMPA安装完后,phpmyadmin 访问500
本帖最后由 sky2112 于 2021-3-12 14:57 编辑Mar 12 11:48:26 localhost httpd: PHP Fatal error:Uncaught Symfony\Component\Yaml\Exception\ParseException: Error. in /home/wwwroot/default/phpmyadmin/vendor/symfony/yaml/Parser.php:1095#012Stack trace:#012#0 /home/wwwroot/default/phpmyadmin/vendor/symfony/yaml/Parser.php(203): Symfony\Component\Yaml\Parser::preg_match('#^(?P<key>(?:![...', 'services:', Array)#012#1 /home/wwwroot/default/phpmyadmin/vendor/symfony/yaml/Parser.php(95): Symfony\Component\Yaml\Parser->doParse('services:\nadv...', 768)#012#2 /home/wwwroot/default/phpmyadmin/vendor/symfony/yaml/Parser.php(63): Symfony\Component\Yaml\Parser->parse('services:\nadv...', 768)#012#3 /home/wwwroot/default/phpmyadmin/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php(691): Symfony\Component\Yaml\Parser->parseFile('/home/wwwroot/d...', 768)#012#4 /home/wwwroot/default/phpmyadmin/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php(122): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->loadFile('/home/wwwroot/d...')#012#5 /home/wwwroot/default/phpmyadmin/libraries/common.inc.php(94): Symfony in /home/wwwroot/default/phpmyadmin/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php on line 693
以上是php日志
但是探针和phpinfo都能正常显示
LNMPA
php是7.1X版本 mysql 是8.X版本
但是探针和phpinfo都能正常显示 确认是phpmyadmin版本问题 在研究解决中 如果升级或降级过php,phpmyadmin也要更换phpmyadmin版本到对应php版本兼容的phpmyadmin
页:
[1]