Editing the Config.php File
The config.php file contains settings such as the Database details and Preferences. To edit these settings, you treat the file as a simple text file and avoid adding any styles to the text.
See: Editing PHP Files
After saving the config.php file you can upload it to the web replacing the default version of the file. If the script fails to run properly, it may be that you have somehow broken the structure of the config.php file so it contains invalid PHP Code or the Database Details you entered were invalid.