config.php is an example. It really could be anything. It could be a .ini file, or .inc file, or something totally different. The file name could be database.xml or settings.json. Without knowing more it's impossible to say.
What software are you using? Wordpress, Joomla, Drupal, SMF, etc. etc.?