We have a development server and a live server with different database connection details (username, password, etc).
Currently we\'re storing BOTH the database conne
Another approach would be to setup environment variables on the live and development machine and access them from the code... I don't know much php, but in python that would be:
import os
password = os.environ('DB_PASS')
This lets you distribute accounts and passwords as needed to developers and deployed servers. Depending on their permissions on that machine, developers could be prevented from having any access to the live password.