You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/config/config.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,39 +9,39 @@
9
9
10
10
# Main Configuration File
11
11
12
-
The main configuration settings are stored in the for of PHP array in `system/user/config/config.php` file.
12
+
The main configuration settings are stored in the form of a PHP array in the`system/user/config/config.php` file.
13
13
14
14
This file is populated automatically during the installation process and contains the most important settings that are used by ExpressionEngine.
15
15
16
-
The main configuration file is being loaded every time the system is run, meaning that [config overrides](general/system-configuration-overrides.md) set in `config.php`` always affect the system’s configuration.
16
+
Settings from this file are loaded every time the system is run. This means that [config overrides](general/system-configuration-overrides.md) set in `config.php` always affect the system’s configuration.
17
17
18
-
At the minimum, the configuration file contains the following settings:
18
+
At a minimum, this configuration file contains the following settings:
19
19
20
20
#### `app_version`
21
21
22
22
The installation's ExpressionEngine version. This value is set automatically and normally should not be modified.
23
23
24
-
However if for a certain reason you need to run the update script again, you can change this value to a lower version number so the system would "see" the update available.
24
+
However if you need to run an update script again, you can modify this value to a lower version number so the system would "see" the update(s) available.
25
25
26
26
$config['app_version'] = '7.4.0';
27
27
28
28
#### `encryption_key`
29
29
30
-
This is the secret key used by the [Encrypt service](development/services/encrypt.md) to protected sensitive data in the database. It is set automatically during the installation process. If you need to use your own key please refer to [Troubleshooting guide](troubleshooting/error-messages.md#generating-new-encryption-keys) on how to generate a new one.
30
+
This is the secret key used by the [Encrypt service](development/services/encrypt.md) to protect sensitive data in the database. It is set automatically during the installation process. If you need to use your own key please refer to [Troubleshooting guide](troubleshooting/error-messages.md#generating-new-encryption-keys) on how to generate a new one.
This is probably most important setting in the configuration file. It contains the database connection details. The array is required to have element with key `expressionengine`, which in turn needs to be array with the following keys:
42
+
The database connection details are one of the most important settings in the configuration file. The array is required to have an element with a key of `expressionengine`, which in turn needs to be an array with the following keys:
43
43
44
-
-`hostname` - The hostname or IP address of database server
44
+
-`hostname` - The hostname or IP address of your database server
45
45
-`database` - The name of the database to connect to
46
46
-`username` - The username used to connect to the database
47
47
-`password` - The password used to connect to the database
@@ -69,7 +69,7 @@ In addition, you can use following keys inside `expressionengine`:
69
69
70
70
- `pconnect` - Whether to use persistent connections (default is `true`)
71
71
72
-
The following keys can be specified that will be converted to [PDO constants](https://www.php.net/manual/en/ref.pdo-mysql.php#pdo-mysql.constants) and passed to the database driver:
72
+
The following keys can be specified and will be converted to [PDO constants](https://www.php.net/manual/en/ref.pdo-mysql.php#pdo-mysql.constants) when passed to the database driver:
73
73
74
74
- `MYSQL_ATTR_LOCAL_INFILE`
75
75
- `MYSQL_ATTR_LOCAL_INFILE_DIRECTORY`
@@ -83,4 +83,4 @@ The following keys can be specified that will be converted to [PDO constants](ht
0 commit comments