Closed
Description
Symfony version(s) affected: 4.1.4
Description
Server crash when reloading page after cache:clear
How to reproduce
OS: Windows 10
composer create-project symfony/skeleton sf4
cd sf4
composer require profiler --dev
php -S 127.0.0.1:8000 -t public
Open localhost:8000 => the defaut page is showing
Execute command php bin/console cache:clear
Reload localhost:8000 => the server crash
When the profiler is not installed there is no crash
Activity
xabbuh commentedon Sep 11, 2018
What does "crash" mean? Do you get an error message? And if so, can you please share it with us?
yoannk commentedon Sep 11, 2018
With the php built-in server there is no error message, with symfony server i got
[ERROR] Server terminated unexpectedly.
xabbuh commentedon Sep 11, 2018
Do you see any more information in the log files?
yoannk commentedon Sep 11, 2018
I added debug package with
composer require debug
and tried again, i got this error in dev.logyoannk commentedon Sep 12, 2018
I noticed that if i run a command after
cache:clear
, for examplesecurity:check
i can reload the page without causing the server to crash.yoannk commentedon Nov 5, 2018
The issue was caused by
apc.enable_cli=1
in my php.ini, with this line commented outcache:clear
works fine.