Phork has the option of defining configuration files for different server environments. More information can be found in the installation instructions but here we will assume you are working on a live server and so your configuration files will be found in phork/sites/[sitetype]/config/live/. These should have been copied from the example files at phork/sites/[sitetype]/config/example/. You can create as many config files as necessary which can then be loaded in using the CoreConfig class.
The global configuration file (global.config.php) contains all the major configuration that is required by the website and any scripts. This includes error handling configuration, debugging, and the location of the PHP CLI binary. The explanations for each section are in the file itself. This file is included from the bootstrap.
The site configuration file (site.config.php) contains all the site-specific configurations, such as URLs, routing, titles, etc. The explanations for each section are in the file itself. This file is included from the bootstrap.
The script configuration file (script.config.php) contain all the script-specific configurations. This is usally pretty sparse but because scripts are handled similar to sites this file is required. The explanations for each section are in the file itself. This file is included from the bootstrap.
The database configuration file (database.config.php) contains the database type and server configuration for the database(s). This file is included from the DatabaseFactory.
The cache configuration file (cache.config.php) contains the Memcache server configuration, the Filecache path configuration, or the Dbcache configuration for both the base tier (caching data) and the presentation tier (caching pages). This file is included from the CacheFactory.