It is a good idea to take a backup of your configuration before making any changes as it will allow you to quickly recover from an error. The configuration information can be found in /data/config.inc.php. There are many ways to backup the file and here are a few siuggestions:
<html> <body> <?php // take a backup of the config $config = file_get_contents('config.inc.php'); $result = 'Search for empty file'; while($result != '') { $cnt += 1; $file = 'config.bak.'.$cnt.'.php'; $result = file_get_contents($file); } file_put_contents($file,$config); echo "config.inc.php has been copied to $file"; ?> </body> </html>
Place the above in a file called /data/bakconfig.php you can then call it with http://yourdomain.com/data/bakconfig.php
NB. Each time you call this file it creates a new copy in the format config.bak.x.php where x is a new number. These files are small and will not take up much space however after many backups you may like to remove them to keep your site tidy. It is important to leave the extension as PHP as this will stop site visitors from accessing sensitive information such as usernames and passwords.