Symfony 2 ERR_CONNECTION_RESET

I downloaded symfony 2.0.9 without providers. After that I executed php bin/vendors install to install the providers. The process went well. But when I executed http://localhost/project/web/app.php , I got

Error 101 (net :: ERR_CONNECTION_RESET)

I do not know what's going on.

If I comment on the line $kernel->handle(Request::createFromGlobals())->send(); in app.php , the response has changed to 200 OK.

Does anyone know what the problem is? I'm on PHP 5.3.9

Thanks in advance.

+4
source share
2 answers

It seems that the providers are not installed correctly, try to clear the prod cache first with the php app / console cache: clear --env = prod (app.php), try another ERR_CONNECTION_RESET solution with symfony2, but not with a PHP script I hope that this will help.

0
source

Today is the same problem. The problem was the memory_limit parameter in php.ini. I installed it for 16M for another project, and it seems like Symfony crashes with 16Mb. I switched it back to 128M and now everything works.

0
source

Source: https://habr.com/ru/post/1394101/


All Articles