На shared хостинге все страницы symfony сайта начали падать с ошибкой:
PHP Fatal error: Uncaught Doctrine\\Common\\Annotations\\AnnotationException: You have to enable opcache.save_comments=1 or zend_optimizerplus.save_comments=1
Прикладываю полный трейс:
[Mon Apr 24 19:51:44 201] [error] [client 93.84.26.140] PHP Fatal error: Uncaught Doctrine\\Common\\Annotations\\AnnotationException: You have to enable opcache.save_comments=1 or zend_optimizerplus.save_comments=1. in /public_html/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php:183 Stack trace: #0 /public_html/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationReader.php(162): Doctrine\\Common\\Annotations\\AnnotationException::optimizerPlusSaveComments() #1 /public_html/var/cache/prod/appProdProjectContainer.php(3199): Doctrine\\Common\\Annotations\\AnnotationReader->__construct() #2 /public_html/var/cache/prod/appProdProjectContainer.php(282): appProdProjectContainer->getAnnotations_ReaderService() #3 /public_html/var/cache/prod/classes.php(3513): appProdProjectContainer->getAnnotationReaderService() #4 /public_html/var/cache/prod/appProdProjectContainer.php(2168): Symfony\\Component\\DependencyInjection\\Container->get('annotation_read...') in /public_html/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php on line 183
Почему ошибка возникла? Как исправить?