Сonfiguration.php file is placed in the Joomla root directory. If Joomla was not installed in subdirectory, the path looks like this:

Website settings:

$offline: website is offline. ‘0’ – website is online. ‘1’website is offline.

$offline_message: a message when the website is offline.

$display_offline_message: display offline messages. ‘0’ – off. ‘1’ – on (a massage for users). ‘2’ – by default (from language file). By default – ‘1’.
$offline_image: a path to an image when the website is offline.

$sitename: website name that is shown in the titles.

$editor: an editor that was chosen in the website settings. By default ‘tinymce’.
$captcha: a protection from spam-bots. By default ‘0’.

$list_limit: list limits for all users. By default ’20’.

$access: access to the website. ‘1’ – public access; ‘2’ – for registered users only; ‘3’ – special. By default – ‘1’.

Debud settings:

$debug: ‘0’ – off. ‘1’ – on.

$debug_lang: ‘0’ – off. ‘1’ – on.

Dtabase settings:

$dbtype: a type of the database – ‘mysqli’ or ‘mysql’.

$host: the database server address. Usually ‘localhost’.

$user: the database username (for the user that has the access to it).

$password: the password for the username. Pay attention, it is not your administrator or FTP password.

$db: a name of the database that you created for Joomla installation.

$dbprefix: minimum three symbols with underscore syntax (you specify this setting while installing Joomla).


You may find out the username and the database name in your ISPmanager control panel (“Database” tab).

Additional possibilities:

$live_site: actual website URL, e.g., http://yourdomain.com

$secret: Do NOT CHANGE

$gzip: gzip-archive of the webpages. ‘0’ – off; ‘1’ – on. By deault ‘0’.

$error_reporting: error messages. ‘default’ – by deault.

$helpurl: Joomla help by default.

FTP Settings

$ftp_host: ‘’ – IP for localhost by default.

$ftp_port: ’21’

$ftp_user: Your FTP username

$ftp_pass: Your FTP password


Time zone settings

$offset: the server time zone


$offset: to set the current date and time. Must be set together with the server location. By default, it is the universal time, Coordinated (UTC 00:00). Here is an example of bias, if the server is in Moscow – $offset = ‘Europe/Moscow’;

E-mail settings:

$mailer: ‘mail’ use mail PHP function; ‘sendmail’ use SMTP mail on server.

$mailfrom: “From” address. This address Joomla uses to send e-mails from the website.

$sendmail: path to Sendmail program: /usr/sbin/sendmail

$smtpauth: if SMTP sever needs authentification to send e-mails, set it in ‘1’. The other – ‘0’. It is used if $mailer: is installed in ‘sendmail’.

$smtpuser: the username for the access to the SMTP server. It is used if $mailer: is installed in ‘sendmail’.

$smtppass: the password for the access to the SMTP server. It is used if $mailer: is installed in ‘sendmail’.

$smtphost: SMTP host. Te address of the SMTP server for mailing. It is used if $mailer: is installed in ‘sendmail’.

$smtpsecure: choose the security model that is used by your SMTP serer: SSL or TLS. By default this setting is off. It is used if $mailer: is installed im ‘sendmail’.

$smtpport: SMTP port 25

Сache settings:

$caching: ‘0’ – ff; ‘1’ – standard settings; ‘2’ – progressive settings. By default ‘0’.

$cache_handler: cache handler

$cachetime: cache time.

Metadata settings:

$MetaDesc: Website description for SEO. This description is indexed by search systems.

$MetaKeys: website keywords (separate by comma). This keywords describe the website and are he base for website index.

$MetaTitle: to display or not meta-tag title. ‘0’ – off; ‘1’ – on. It is used in Weblinks. By default ‘1’.

$MetaAuthor: to display or not meta-tag author. ‘0’ – off; ‘1’ – on. By default ‘1’.

$MetaVersion: to display or not Joomla version in meta-tag generator. ‘0’ – off; ‘1’ – on. By default ‘0’.

$robots: instructions for search robots.

SEO (Search Engine Optimization) settings:

$sef: ‘0’ – off; ‘1’ – on.

$sef_rewrite: ‘0’ – off; ‘1’ – on.

$sef_suffix: ‘0’ – off; ‘1’ – on.

$unicodeslugs: ‘0’ – off; ‘1’ – on.

$feed_limit: limit of news, by default ’10’.

Logs and the temporary Internet files folder settings

$log_path: /var/www/login/data/www/moy_sayt.com/logs;

$tmp_path: /var/www/login/data/www/moy_sayt.com/tmp;

Session settings:

$lifetime: the lifetime of the session (in minutes).

$session_handler: session handler – ‘database’ or ‘none’.

Other settings

$MetaRights: copyright description.

$sitename_pagetitles: include website name to the name of the page. ‘0’ – no, ‘1’ – before, ‘2’ – after. By default ‘0’.

$force_ssl: activate SSL. ‘0’ – off; ‘1’ – on. It is recommended not to activate this setting only if you are completely sure that SSL is available on server. By default – ‘0’.

$feed_email: select the e-mail that will be shown in the news: ‘author’ – authors e-mail (by default), ‘site’ – website e-mail.

$cookie_domain: cookie of the domain.

$cookie_path:a path for cookie.

Important: If you are not sure what settings of configuration.php file to edit you may leave all the settings by default. Don’t forget to make a backup copy of the file before you make changes.