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

mur*_*ess 2 php phpmyadmin

这是 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): 无法打开流:没有这样的文件或/usr/share/php/Symfony/Component/Cache/autoload.php 目录中的第 6 行
PHP 消息:PHP Fatal error: require_once(): Failed opening required 'Symfony/Polyfill/Apcu/autoload.php' (include_path=' .:/usr/share/php') 在 /usr/share/php/Symfony/Component/Cache/autoload.php 第 6' 行

我该如何解决这个问题?

小智 6

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