Показаны сообщения с ярлыком opcache. Показать все сообщения
Показаны сообщения с ярлыком opcache. Показать все сообщения

воскресенье, 1 сентября 2019 г.

Ways to optimize a Sylius project in dev mode

If you feel that your Sylius dev configuration is slow, try this:

1) use nginx (or docker with nginx) instead of php bin/console server:run
2) be sure XDebug is disabled
3) add these lines to your php.ini:

opcache.memory_consumption=256
opcache.max_accelerated_files=20000
realpath_cache_size=4096K

пятница, 12 апреля 2019 г.

[PHP] Docker doesn't applies code changes in container!

Be sure your php.ini doesn't have opcache.validate_timestamps=0. Actually there is no issues with Docker, only OPcache.