- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2020
09:22 AM
07-09-2020
09:22 AM
Is it possible to encrypt env.php without breaking magento?
So I am not a huge fan of env.php having plain text DB password in it, is it possible to encrypt env.php without breaking magento? It seems the file is literally required for any bin/magento functions to work.
Labels:
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2020
10:46 AM
07-09-2020
10:46 AM
Re: Is it possible to encrypt env.php without breaking magento?
Hello @louisphilibadc
You can try this thing :
array ( 'host' => 'localhost', 'dbname' => 'databasename', 'username' => base64_decode('encoded user name'), 'password' => base64_decode('encoded password'), 'active' => '1', 'persistent' => NULL, ),
Problem Solved ? Click on 'Kudos' & Accept as Solution !
