skip to Main Content

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?

2

Answers


  1. 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.

    Login or Signup to reply.
  2. 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
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search