0

I have an issue with my Symfony 4.1 project. My server is on PHP FPM 7.2 and Apache 2.4. When i enable the Debug component in a dev environment, i cannot access my application and i have a 503 error. On the apache server, i can see this error:

AH01067: Failed to read FastCGI header

no error in the fpm container. At first i thought about a memory_limit issue, but the error disappear when i activate XDebug on the fpm container. And XDebug eats quite a lot of memory, so i don't know where is the problem.

If anybody has any idea, it will be really appreciated.

Thx, JM

jmleroux
  • 947
  • 6
  • 17
  • I still don't know where it comes from, but i downgraded my composer.json and composer.lock to Symfony 4.1.7 and the app is working fine. I will try to figure out when i'll have more time. – jmleroux Nov 27 '18 at 10:45
  • I retried to update and can't reproduce the issue. This question can be closed. – jmleroux Nov 27 '18 at 23:22
  • And the issue came back. I'm not the only one to have it: https://symfony.com/blog/symfony-4-1-8-released#comment-22855 – jmleroux Nov 27 '18 at 23:45
  • I think I’m having the same problem. I’ve a local installation of the Kimai time tracker, based on Symfony, that return a 503 HTTP error when in production mode (production dependencies, and `bin/console cache:clear --env=prod`. There’s no problem when XDebug is disabled or when Kimai is in dev mode. When enabled, it fails everytime in Symfony `\Symfony\Component\VarExporter\Internal\Registry:63`. My PHP version is 7.4.13 with XDebug 3.0.0. Symfony is 4.4.10. – Jérôme Dec 01 '20 at 15:10

0 Answers0