Added PHP config file option

Added option to use a PHP file instead of an INI file for settings.
This allows for more dynamic configurations and addresses security
issues with the use of INI files in some environments.

PHP file has preference. All config settings originally in  file
would be defined as an array named $config.

Retained INI functionality for legacy purposes.