Hi,
v2026
When generating the script the the first part is about the same as 2025
All files generated (90.667 seconds)
But this part takes ages
Running php -d memory_limit=-1 bin/console app:convert-local-secrets prod --no-interactio
Any ideas?
Hi,
v2026
When generating the script the the first part is about the same as 2025
All files generated (90.667 seconds)
But this part takes ages
Running php -d memory_limit=-1 bin/console app:convert-local-secrets prod --no-interactio
Any ideas?
Do not turn on “production” mode during development. You only need to generate your project in “production” mode once and re-generate the whole site before you deploy the site to your production server.
During development, you use the “development” mode:
There is no need to enable the advanced setting Encrypt secrets, that is for “production” mode only, read Setting Production Connection Info for more info. When disabled, php bin/console app:convert-local-secrets will not run.
There is no need to enable the advanced setting Run clear cache command after generation. When disabled, php bin/console cache:clear will not run. This is the command that takes time because of the full rebuild. Read Clearing Symfony Cache for more info.