Provider a small fix for Symfony 2.7|2.8 with locale compose from PHP Intl extension.
- Install the package
composer require messi89/symfony-intl-infinite-loop-fixer
- Exclude symfony original locale file from autoload
{
"autoload": {
"exclude-from-classmap": [
"vendor/symfony/symfony/src/Symfony/Component/Intl/Locale.php"
]
}
}
- Now you can enable php intl again
phpenmod -v 7.2 intl
service php7.2-fpm restart