PHPMaker 2026 In the Advanced Settings, when I check Encrypt Secrets the values for the DB connections in the .env.dev.local are replaced with # Encrypted, and the generated application will no longer log in with a database connection error. Is there anything I should do to solve this issue?
Read important note of the advanced setting Encrypt secrets:
- Make sure you enable enable it for production mode,
- Make sure you have uploaded the config/secrets/prod/prod.decrypt.private.php (which contains the encrypted secrets).
I did exactly what you suggested, still getting the same error
Make sure you have done:
- Uploading the whole config\secrets\prod folder, which contains prod.decrypt.private.php (the private key) and many prod.xxx.php files (one for each secret).
- Clearing Symfony Cache
Thank you
Seems what I was missing was enabling a PHP extension “Sodium” before generating
Once I did that, it all worked