The safest way to deal with is to have a mykeys.php.sample file that lists all of the keys that the app uses with all of the values empty. The values can either then be manually filled in by the user on the deployment machine. The other option is to use a script and populate the values as environment variables. You can then keep the script out of your version control as well.
↧