How can I edit SMF configuration file?

Simple Machines Forum configuration file.

Add Comment
1 Answer(s)
Best answer

The SMF configuration file can easily be edited through either your cPanel > Files > File Manager > Code Editor or by downloading it to your computer via File Manager and editing it with a text editor, such as Notepad++ and re-uploading it to your account.

The format of the configuration file options are as follows:

  • $db_type                            #Default value “mysql” if you do not know what database type you are using it is suggested not to change this value.
  • $db_error_send               #Default value “1” Enables (1) or disables (0) sending an email to the Administrator on a database connection or query error.
  • $db_name                          # Default value: ‘smf’. The name of the database. This database must exist, and must have SMF’s tables and data in it.
  • $db_passwd                      # Password for access to the database server. It is not recommended to change this unless the password to the database has actually been changed.
  • $db_user                             # Name of the database user connecting to the database.

In the SMF configuration file there are a lot of additional settings, for which you may read more via the following link to the SMF official page:

Christian Smith Answered on September 25, 2015.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.