phpmyadmin http 500 错误.. 在第 6 行 /usr/share/php/Symfony/Component/Cache/autoload.php 中没有这样的文件或目录

phpmyadmin http 500 error.. No such file or directory in /usr/share/php/Symfony/Component/Cache/autoload.php on line 6

这里是 apache2 错误日志;

[proxy_fcgi:error] [pid 8457] [client 192.168.2.10:63922] AH01071: Got error 'PHP message: PHP Warning: require_once(Symfony/Polyfill/Apcu/autoload.php): failed to open stream: No such file or directory in /usr/share/php/Symfony/Component/Cache/autoload.php on line 6
PHP message: PHP Fatal error: require_once(): Failed opening required 'Symfony/Polyfill/Apcu/autoload.php' (include_path='.:/usr/share/php') in /usr/share/php/Symfony/Component/Cache/autoload.php on line 6'

我该如何解决这个问题?

我找到了 Ubuntu 18.04 的修复程序。我将软件包 php-symfony-polyfill-apcu 降级回 1.6.0-2。显然,升级后的版本不再包含所有相同的文件,包括导致此处问题的 'Symfony/Polyfill/Apcu/autoload.php' 文件。

你需要降级包 php-symfony-polyfill-apcu

sudo apt install php-symfony-polyfill-apcu=1.6.0-2
sudo service apache2 restart