contao / manager-bundle

[READ-ONLY] Contao Manager Bundle
GNU Lesser General Public License v3.0
17 stars 10 forks source link

Problem using PHP 7.4 - FOS/http-cache-bundle issue #89

Closed qbadev closed 3 years ago

qbadev commented 3 years ago

Have:

Toflar commented 3 years ago

Apparently you installed Contao/built the cache using PHP 8 instead of 7.4?

qbadev commented 3 years ago

that might be, as I have web php 7.4, and CLI 8.0

Toflar commented 3 years ago

You have the answer to your question then? :) Contao as well as many other Symfony bundles and the Symfony full stack framework itself ensure optimal configuration during cache build time. They also check for available php extensions to make sure they can make the best out of the available platform. You must use the same PHP configuration (extensions and version) when building it (or running any CLI commands for that matter).

qbadev commented 3 years ago

Yes, that's clear, I always keep it clean and updated, but this time Automatic Updates of Ubuntu made a mess. Thanks for pointing me to the right direction.