1
As in most cases, I have two environments: approval and production, both for the server and for the database.
I would like to know how to use the same address (host) of the database in the application settings (in PHP) where, when running in type approval environment, the host points to the type approval database, when in production, the host pointed to the production database, thus avoiding adjusting the database host whenever the server was promoted to production (deploy).