To edit the configuration files, you will need to open the file in a text editor such as Windows® WordPad or another recommended editor.
Before uploading the vBulletin files to your web server, you must edit both vBulletin configuration files to tell vBulletin how to communicate with your database and server.
Format of the config.php Files
Please use a recommended editor to avoid issues with the formatting and display of the file. PHP files are standard ASCII/ANSI plain text files and should not be saved as UTF-8 with BOM.
The vBulletin configuration files are in PHP. However if you follow these instructions, knowledge of PHP is not required to edit these files. The files are a series of variables. When setting a variable, you enter the value to the right of the equal sign. If the value is text rather than numbers it needs to be in single quotation marks.
When making changes to the file, the edit should always be to the right of the = sign between the single quotes. For example:
Default: $config['admincpdir'] = 'admincp';
Correct: $config['admincpdir'] = 'myadmin';
Incorrect: $config['myadmin'] = 'admincp';
Make sure that you edit the info to the right of the equal sign. Do not edit the names in the brackets to the left of the equal sign.