Skip to content

Commit e1a8d0e

Browse files
authored
Update config.md
1 parent 5c6a36c commit e1a8d0e

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

docs/config/config.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,39 +9,39 @@
99

1010
# Main Configuration File
1111

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.
1313

1414
This file is populated automatically during the installation process and contains the most important settings that are used by ExpressionEngine.
1515

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.
1717

18-
At the minimum, the configuration file contains the following settings:
18+
At a minimum, this configuration file contains the following settings:
1919

2020
#### `app_version`
2121

2222
The installation's ExpressionEngine version. This value is set automatically and normally should not be modified.
2323

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.
2525

2626
$config['app_version'] = '7.4.0';
2727

2828
#### `encryption_key`
2929

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.
3131

3232
$config['encryption_key'] = '26791dcd5c7cc9e569cc05b16b96235985cc9f03';
3333

3434
#### `session_crypt_key`
3535

36-
Similar to `encryption_key`, but used to protected session data.
36+
Similar to the `encryption_key`, but used to protected session data.
3737

3838
$config['session_crypt_key'] = 'd9e776dc9a5de0cd83e7c76a76756daa64ff4b8b';
3939

4040
#### `database`
4141

42-
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:
4343

44-
- `hostname` - The hostname or IP address of database server
44+
- `hostname` - The hostname or IP address of your database server
4545
- `database` - The name of the database to connect to
4646
- `username` - The username used to connect to the database
4747
- `password` - The password used to connect to the database
@@ -69,7 +69,7 @@ In addition, you can use following keys inside `expressionengine`:
6969

7070
- `pconnect` - Whether to use persistent connections (default is `true`)
7171

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:
7373

7474
- `MYSQL_ATTR_LOCAL_INFILE`
7575
- `MYSQL_ATTR_LOCAL_INFILE_DIRECTORY`
@@ -83,4 +83,4 @@ The following keys can be specified that will be converted to [PDO constants](ht
8383
- `MYSQL_ATTR_SSL_CERT`
8484
- `MYSQL_ATTR_SSL_CIPHER`
8585
- `MYSQL_ATTR_SSL_KEY`
86-
- `MYSQL_ATTR_SSL_VERIFY_SERVER_CERT`
86+
- `MYSQL_ATTR_SSL_VERIFY_SERVER_CERT`

0 commit comments

Comments
 (0)