How to update etc/env.php file in Magento 2 commerce cloud

The etc/env.php file is different for each environment, like for your local, staging and production. That means you can not edit this file and push this file from your local setup to the cloud environment as this is ignored by Git. In some situations, you have to add some variables or edit values in the /app/etc/env.php file. If you are considering how to edit the env.php file in Magneto 2 commerce cloud or Adobe commerce cloud then this blog post by Dhairvi Solutions is for you.

Continue reading “How to update etc/env.php file in Magento 2 commerce cloud”

Warning: file_put_contents in plugin-list.php and PluginListGenerator.php in Magento 2 while compiling

While you are running your Magento 2 website in XAMPP and you run “php bin/magento setup:di:compile” and you see the error in line number 412 in vendor/magento/framework/Interception/PluginListGenerator.php file then this blog post helps you to fix this issue in your localhost Magento setup.

Continue reading “Warning: file_put_contents in plugin-list.php and PluginListGenerator.php in Magento 2 while compiling”