murdocklawless
murdocklawless

Reputation: 23

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;

[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'

how can I solve this?

Upvotes: 2

Views: 825

Answers (2)

thwaller
thwaller

Reputation: 76

I found a fix for Ubuntu 18.04. I downgraded the package php-symfony-polyfill-apcu back to 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.

Upvotes: 6

Jignesh Joisar
Jignesh Joisar

Reputation: 15165

you need to downgraded the package php-symfony-polyfill-apcu

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

Upvotes: 1

Related Questions