What is the best approach to storing a group of global settings for a custom PHP application? I am working on a personal project (first major one really), and need a method
We just use
$siteConfig['db_name'] = 'database1'; $siteConfig['site_name'] = 'Stackoverflow';
In a included php file. Putting the values in a array helps with name conflicts.