Cached values

To improve overall performance, the system caches the /var/cp=
anel/cpanel.config file's settings in the cpanel.con=
fig.cache file. This file updates each time that the /var/cpanel/cpanel.config file updates, to ensure that the cac=
hed settings are up-to-date.

For any dynamic values that are not set, the server attempts to gu=
ess the correct value.

For example, to set the mailserver value, the se=
rver checks whether your system uses the dovecot RPM=
.

The server logs the changes to the /usr/local/cpanel/lo=
gs/error_log file.

Absent values

If one or more keys do not exist in the /var/cpanel=
/cpanel.config file, the server attempts to generate them from =
the following sources in the following order:

The server copies the key=3Dvalue pair from&nbsp=
;the cpanel.config.cache file, if it exists.

If the key's value is static, and it does not exist in the cpanel.config.cache file, the system copies the =
key=3Dvalue pair from the default value in the =
/usr/local/cpanel/etc/cpanel.config file.

If the key's value is dynamic, and it does not exist in the <=
code>cpanel.config.cache file, the server calculates an ap=
propriate value.

The server logs the changes to the /usr/local/cpanel/logs/er=
ror_log file.

Invalid values

If one or more of the following values are invalid in the&nbsp=
;/var/cpanel/cpanel.config file, the server attempts to r=
eplace them with a valid value:

mysql-version

local_nameserver_type

mailserver

ftpserver

These variables are deprecated and we will remove them in later versions=
of cPanel & WHM. If you use them in custom code, update your code to u=
se the rpm.versions system as soon as possible to avoid problems. For more =
information, read our How to Override the rpm.versions System docume=
ntation.

The /scripts/enable_spf_dkim_globally script allows you to =
enable SPF and DKIM for accounts that exist on the server, and to create th=
e appropriate DNS records for their domains. For more information, read our=
The SP=
F and DKIM Global Settings Script documentation.

=20

Default:1

Note:

On servers that run CentOS 7, you may see a named warning a=
bout the absence of SPF resource records on DNS.

Red Hat 7.1 and CentOS 7.1 both contain bind-9.9.4-23.el7,=
which is an updated version of BIND that complies with RFC 7208. To resolv=
e this issue, update your operating system to a version that contains the u=
pdated version of BIND. For more information, read the Red Hat Bugzilla case ab=
out SPF record errors.

cycle_hours

No Tweak Settings equivalent. This setting adjusts the frequenc=
y with which your server processes logs.

This value is dynamic, and additional steps are required if you wish to=
update the value manually. We recommend that you modify this value through=
the cPanel & WHM interface.

This variable is deprecated, and we will remove it in a later version o=
f cPanel & WHM. If you use this variable in customcode, update that cod=
e to use the rpm.versions system as soon as possible to avoid problems. For=
more information, read our How to Override the rpm.versions System documentat=
ion.

This value is dynamic, and additional steps are required if you wish to=
update the value manually. We recommend that you modify this value through=
the cPanel & WHM interface.

This variable is deprecated, and we will remove it in a later version o=
f cPanel & WHM. If you use this variable in customcode, update that cod=
e to use the rpm.versions system as soon as possible to avoid problems. For=
more information, read our How to Override the rpm.versions System documentat=
ion.

This value is dynamic, and additional steps are required if you wish to=
update the value manually. We recommend that you modify this value through=
the cPanel & WHM interface.

This variable is deprecated, and we will remove it in a later version o=
f cPanel & WHM. If you use this variable in customcode, update that cod=
e to use the rpm.versions system as soon as possible to avoid problems. For=
more information, read our How to Override the rpm.versions System documentat=
ion.

You can upgrade to a new MySQL version in WHM'sMySQL or MariaDB Upgradeinterfac=
e (WHM >> Home >> Software >> MariaDB/MySQL Upgrade ).

Default:5.7

Warning:

This value is dynamic, and additional steps are required if you wish to=
update the value manually. We recommend that you modify this value through=
the cPanel & WHM interface.

This variable is deprecated, and we will remove it in a later version o=
f cPanel & WHM. If you use this variable in customcode, update that cod=
e to use the rpm.versions system as soon as possible to avoid problems. For=
more information, read our How to Override the rpm.versions System documentat=
ion.

This setting indicates whether you enabled the Password Age opt=
ion in WHM's C=
onfigure Security Policies interface (WHM >> Home =
>> Security Center >> Configure Security Policies ) and may not appear in this file until you enable it.

Default:&n=
bsp;0

SecurityPolicy::Passw=
ordStrength

No Tweak Settings equivalent.

Note:

This setting indicates whether you enabled the Password Strength option in WHM'sConfigure Security Policiesinterface (WHM >> Home >> Security Center >> Configure Security Policies)=
and may not appear in this file until you enable it.