Configuration.php is located in /www/domain.com/configuration.php. But if you have installed Joomla to the subdirectory, it will be located elsewhere.

WARNING: Before editing this file, make a backup copy. And do not change default values, unless you know what you are doing.

Website settings

$offline:

Determines, whether the website is available. If the value is ‘1’, the website is offline. If it is ‘0’, the website is online.

$offline_message:

Determines the offline-message when the site is down.

$display_offline_message:

Determines what offline-message is shown. ‘0’ — shows none. ‘1’ — shows custom message. ‘2’ — shows the message from the language file. By default — ‘1‘.

$offline_image:

Determines the path to the image that is shown on the offline-message.

$sitename:

Determines the website’s name that is shown in the title.

$editor:

Determines the editor used on the website. By default — ‘tinymce’.

$captcha:

Sets up protection against spam bots. If it is ‘0’ — protection is off. If it is ‘1’ — it is on. By default — ‘0’.

$list_limit:

Determines how long the lists in the admin panel are. By default — ’20’.

$access:

Checks the access level to the website. ‘1’ — public access; ‘2’ — registered users only; ‘3’ — special. By default — ‘1’.

Debug settings

$debug:

Enables debugging. ‘0’ — debugging is off. ‘1’ — debugging is on.

$debug_lang:

Enables the debugging of language files.‘0’ — debugging is off. ‘1’ — debugging is on.

IMPORTANT: You can debug language files without turning the global parameter on.

Database settings

$dbtype:

Determines the database type — ‘mysqli’ or ‘mysql’.

$host:

Determines the address of the database server — usually ‘localhost’.

$user:

Determines the database user name.

$password:

Determines the password for the database. This is neither your admin password, nor your FTP password.

$db:

Determines the name for the database you’ve created for Joomla.

$dbprefix:

Determines the database prefix. Looks like three or more symbols with an underscore.

IMPORTANT: You can see the database name and user name in ISPmanager under the Database tab.

Extras:

$live_site:

Determines your website’s URL, i.e. ‘http://yourdomain.com’

$secret:

Jommla’s internal parameter. NEVER CHANGE IT!

$gzip:

Determines, whether or not the gzip-compression is enabled. ‘0’ — disabled; ‘1’ — enabled. By default — ‘0’.

$error_reporting:

Enables the error reporting. By default — ‘-1’.

$helpurl:

Determines the URL for the help page. By default links to Joomla’s help.

FTP Settings

$ftp_host:

Determines the IP for localhost. By default — ‘127.0.0.1’

$ftp_port:

Determines the port that is used for FTP. By default — ’21’.

$ftp_user:

Determines the FTP username.

$ftp_pass:

Determines the FTP password.

$ftp_enable:

Determines which function is used for FTP. ‘0’ — internal Joomla’s function; ‘1’ — PHP.

Настройки временной зоны

$offset:

Determines the server’s timezone.

IMPORTANT: This value should be set in accordance to the timezone the server is physically located at. By default it is (UTC 00:00). Here’s an example for the server at Moscow: $offset = ‘Europe/Moscow’;

E-mail Settings

$mailer:

Determines the e-mail system in use. ‘mail’ switches to mail PHP; ‘sendmail’ switches to server-based SMTP.

$mailfrom:

The e-mail address that Joomla uses to send mail from the website.

$sendmail:

Path to Sendmail executable. By default — ‘/usr/sbin/sendmail’

$smtpauth:

If the SMTP server demands authentification in order to send mail, switch this to ‘1’. If it doesn’t, leave it as ‘0’. Matters only when $mailer: is set to ‘sendmail‘.

$smtpuser:

Username in order to access the SMTP server. Matters only when $mailer: is set to ‘sendmail‘.

$smtppass:

SMTP server password. Matters only when $mailer: is set to ‘sendmail‘.

$smtphost:

SMTP server address for the sent mail. Matters only when $mailer: is set to ‘sendmail‘.

$smtpsecure:

Security policy emplyed at the SMTP server: ‘SSL’ or ‘TLS’. By default it is turned off. Matters only when $mailer: is set to ‘sendmail‘.

$smtpport:

SMTP port. By default — ’25’

Cache settings

$caching:

Determines whether or not the caching is on. ‘0’ — off; ‘1’ — on with standard settings; ‘2’— on with progressive settings. By default — ‘0’.

$cache_handler:

Determines the cache handler.

$cachetime:

Determines for how long the cache is saved.

Metadata settings

$MetaDesc:

Website’s SEO description, that is indexed by the search engines.

$MetaKeys:

Website’s keywords (separated by commas).

$MetaTitle:

Determines how the metatag title is displayed. ‘0’ — not displayed at all; ‘1’ — displayed. Right now it is used only in Weblinks. By default — ‘1’.

$MetaAuthor:

Determines how the metatag author is displayed. ‘0’ — not displayed at all; ‘1’ — displayed. By default — ‘1’.

$MetaVersion:

Determines whether or not the Joomla version is displayed in the generator metatag. ‘0’ — not displayed at all; ‘1’ — displayed. By default — ‘0’.

$robots:

Instructions for the search engine bots.

SEO Settings

$sef: 

‘0’ — disabled; ‘1’ — enabled.

$sef_rewrite: 

‘0’ — disabled; ‘1’ — enabled.

$sef_suffix:

‘0’ — disabled; ‘1’ — enabled.

$unicodeslugs: 

‘0’ — disabled; ‘1’ — enabled.

$feed_limit:

Determines the max amount of news in the feed, by default — ’10’.

Logs and temp files settings

$log_path:

Determines the path to the logs folder. By default — ‘/var/www/login/data/www/moy_sayt.com/logs’

$tmp_path:

Determines the path to the temp folder. By default — ‘/var/www/login/data/www/moy_sayt.com/tmp’

Session Settings

$lifetime:

Determines the session lifetime (in minutes).

$session_handler:

Determines the session handler — ‘database’ or ‘none’.

Другие настройки

$MetaRights:

Copyright desription.

$sitename_pagetitles:

Determines whether or not the website’s name is added to the page title. ‘0’ — no, ‘1’ — before the page title, ‘2’ — after the page title. By default — ‘0’.

$force_ssl:

Determines whether the HTTPS connection is forced on the user. ‘0’ — not forced; ‘1’ — forced. Do not turn it on unless you are sure that SSL is available on the server. By default — ‘0’.

$feed_email:

Determines which, e-mail will be shown in the news feed. ‘author’   shows email of the author, ‘site’ — shows the e-mail of the website.

$cookie_domain:

Determines whether the cookie is used.

$cookie_path:

Shows path to the cookie.

 

Tagged: