简体   繁体   English

phpmyadmin http 500 错误.. /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

here is apache2 error log;这是 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 [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第 6 行 /usr/share/php/Symfony/Component/Cache/autoload.php 中的目录
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' PHP 消息:PHP 致命错误:require_once():在 /usr/share/php/Symf /Cache/autoload.php 在第 6 行'

how can I solve this?我该如何解决这个问题?

I found a fix for Ubuntu 18.04.我找到了 Ubuntu 18.04 的修复程序。 I downgraded the package php-symfony-polyfill-apcu back to 1.6.0-2 .我将 package php-symfony-polyfill-apcu 降级1.6.0-2 Apparently, the version that was upgraded no longer includes all the same files, including the 'Symfony/Polyfill/Apcu/autoload.php' file, that is causing the issue here.显然,升级的版本不再包含所有相同的文件,包括导致问题的'Symfony/Polyfill/Apcu/autoload.php'文件。

you need to downgraded the package php-symfony-polyfill-apcu你需要降级 package php-symfony-polyfill-apcu

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM