For cPanel & WHM 74
This page was last updated on:
|Table of Contents|
Add comments about Remote MySQL® hosts
In cPanel & WHM version 74, we added a Comment text box to cPanel's Remote MySQL interface (cPanel >> Home >> Databases >> Remote MySQL). This text box allows you to record specific information about each remote MySQL host, which the interface displays in the Manage Access Hosts table.
When you create a backup tarball (
.tar.gz) file, the system stores the comments about each remote MySQL host in the
New S3™ Compatible destination type in WHM's Backup Configuration interface
In cPanel & WHM version 74, we added the S3 Compatible destination type to WHM's Backup Configuration interface (WHM >> Home >> Backup >> Backup Configuration). This option allows users to save their backups to an additional destination that is compatible with a simple storage service other than Amazon S3™.
Reject and hold outgoing mail for suspect spammers
When an email account sends outbound mail to a large number of unique recipients, the server marks that email account as a potential spammer. Administrators can configure the threshold of unique recipients with the Number of unique recipients per hour to trigger potential spammer notification tweak setting.
In cPanel & WHM version 74, administrators can now select the action that the server should automatically perform when it detects potential spammers. Use the Select the action for the system to take on an email account when it detects a potential spammer tweak setting to configure this behavior in the Mail section of WHM's Tweak Settings interface (WHM >> Home >> Server Configuration >> Tweak Settings). The server will perform one of the following actions:
- Take no action — Do not perform any action for the email account.
- Hold outgoing mail — Hold all outbound messages in a queue for the email account.
- Reject outgoing mail — Reject all outbound messages for the email account.
This setting defaults to Take no action.
To release or delete outgoing mail held in the queue, perform the following actions in cPanel's Email Accounts interface (cPanel >> Home >> Email >> Email Accounts):
- Click Manage Suspension.
- Select Allow for the Send option.
- If applicable, click Delete messages from the mail queue to remove any queued messages.
- Click Save.
Display a message to reboot the server after essential software updates.
In cPanel & WHM version 74, we added the Display a message to reboot the server after essential software updates option to the Security tab in WHM's Tweak Settings interface (WHM >> Home >> System Configuration >> Tweak Settings). This setting configures the server to display a message to reboot the server after it installs an essential software update.
If you disable this setting, you will need to manually reboot the server after essential software updates to address security issues.
This setting defaults to On.
Restore config without force
In cPanel & WHM version 74, we added the ability to restore The cpanel.config File for users from a local or remote destination via the WHM API 1
restore_config_from_upload functions. This significantly improves provisioning times and proves especially useful for deploying configurations across multiple servers.
In cPanel & WHM version 74, we added DNS-based Domain Control Validation (DCV), which the server automatically runs if HTTP-based DCV fails. DNS-based DCV provides an additional method for cPanel & WHM servers to prove domain control to certificate authorities. This new method will significantly improve SSL issuance rates and reduce AutoSSL notifications.
- Under the Copyright© 2018 cPanel, Inc notice at the bottom of the cPanel, WHM, and Webmail Login interfaces.
- Under the Side Navigation Menu in the WHM Home interface.
- At the bottom-right corner of the cPanel Home interface.
This link remains visible as you navigate throughout the cPanel and WHM interfaces.
New SMTP options in the Exim Configuration Manager
In cPanel & WHM version 74, we added the following options to the Mail section of the Basic Editor tab of WHM's Exim Configuration Manager interface (WHM >> Home >> Service Configuration >> Exim Configuration Manager):
- Hosts to which to advertise the SMTP DSN option — Specify a list of hosts to which to advertise SMTP support for Delivery Status Notification (DSN).
- Hosts to which to advertise the SMTPUTF8 SMTP option — Specify a list of hosts to which to advertise SMTP support for international email addresses that contain UTF-8 characters.
New touch files to disable services
In cPanel & WHM version 74, we created the
/var/cpanel/disabled directory. System administrators can add touch files to this directory to disable services.
The following touch files are available:
For more information, read our How to Disable Services documentation.
Apache SpamAssassin™ Spam Box delivery of messages marked as spam enabled by default
In cPanel & WHM version 74, we enabled Apache SpamAssassin™ Spam Box by default. You can change this setting in the Enable Apache SpamAssassin™ Spam Box delivery for messages marked as spam (user configurable) section of WHM's Tweak Settings interface (WHM >> Home >> Server Configuration >> Tweak Settings).
Updated Backup User Selection interface workflow
We updated the look and feel of WHM's Backup User Selection interface (WHM >> Home >> Backup >> Backup User Selection) with new toggles and a new Account Actions menu button.
Added the disable argument to the restorepkg script
In cPanel & WHM version 74, we added the
disable argument to the
restorepkg script. Users can now choose which modules to disable when they restore an account.
We strongly recommend that only advanced users apply this option. If you incorrectly configure this option, the cPanel account may restore in a broken state.
AutoSSL user notifications
In cPanel & WHM version 74, we streamlined the number of configuration options, which makes it efficient for users and administrators to configure AutoSSL notifications.
For WHM users, we updated the Options tab in WHM's Manage AutoSSL interface (WHM >> Home >> SSL/TLS >> Manage AutoSSL). Administrators can now configure user notifications independent of their settings in WHM, such as all events or failures only, or disable all AutoSSL notifications.
For cPanel users, we updated cPanel's Contact Information interface (cPanel >> Home >> Preferences >> Contact Information) to reduce the AutoSSL Notifications user notification preferences to four options. Some settings only appear based on the notification level that your WHM administrator sets in the Manage AutoSSL interface (WHM >> Home >> SSL/TLS >> Manage AutoSSL).
Graceful restarts for PHP-FPM
In cPanel & WHM version 74, we added the ability to restart PHP-FPM without service interruptions to clients that request PHP resources. During the PHP-FPM graceful restart, the system stops and restarts the PHP-FPM pool processes. As a result, the system temporarily holds the Apache process requests. When the PHP-FPM pool processes begin again, Apache passes the queued process requests on to the PHP-FPM pool processes and the workflow continues as normal.
Updated Git Version Control feature
We have updated cPanel's Git Version Control interface (cPanel >> Home >> Files >> Git Version Control) to include the following new features:
cPanel users can now use the Manage section of the interface to manually or automatically deploy changes from cPanel-hosted repositories.
- A custom
.cpanel.ymlfile allows users to add deployment tasks to specific repositories.
- The system pulls changes with the
--ff-onlyoption and will only succeed if the branch's HEAD commit is up-to-date or Git can fast forward it. For this reason, we strongly recommend that users only deploy changes from a remote repository or a clone of it on their local computer.
- They should not directly change the cPanel-managed repository's contents.
- For more information about our suggested deployment configuration and how to set it up, read our Guide to Git - Set Up Deployment documentation.
- For more information about deployment, read our Guide to Git - Deployment documentation.
The interface's Active Branch menu now displays both local and remote branches.
IP addresses in sidebar in cPanel Home interface
As of cPanel & WHM version 74, the cPanel Home interface displays the account's shared IP address or dedicated IP address in the sidebar.
For more information, read our The cPanel Interface documentation.
Link to Create a New Account interface added to the List Accounts interface
In cPanel & WHM version 74, we added a link to WHM's Create a New Account interface (WHM >> Home >> Account Functions >> Create a New Account) on WHM's List Accounts interface (WHM >> Home >> Account Information >> List Accounts). This link appears when your hosting provider enables the Create Accounts privilege in WHM's Edit Reseller Nameservers and Privileges interface (WHM >> Home >> Resellers >> Edit Reseller Nameservers and Privileges).
Optional password for SSH keys
In cPanel & WHM version 74, we changed the requirement to assign a password to a new SSH key in cPanel's SSH Access interface (cPanel >> Home >> Security >> SSH Access). If the hosting provider sets the SSH Keys setting to 0 in WHM's Password Strength Configuration interface (WHM >> Home >> Security Center >> Password Strength Configuration), you do not need to assign a password to a new SSH key.
Set wildcard per domain pricing
In cPanel & WHM version 74, we enabled wildcard per domain pricing on supported providers. Administrators can now set wildcard per domain pricing in WHM's Market Provider Manager interface (WHM >> Home >> Market >> Market Provider Manager).
WHM backup and restore performance improvement
In cPanel & WHM version 74, we improved the performance of the
restore options. We also added the ability to restore a configuration file via API with the new WHM API 1
For more information, read our cpconftool Script documentation.
Public contact information on suspended and default placeholder pages
In cPanel & WHM version 74, we display the hosting provider's contact information on the Account Suspended and Default Webpage placeholder pages. This allows visitors to these pages to contact the hosting provider directly. You can update the contact information that these pages display in the Public Contact section of WHM's Customization interface (WHM >> Home >> cPanel >> Customization). For more information about placeholder pages, read the template types section of our Web Template Editor documentation.
In cPanel & WHM version 74, we optimized the task queue for certain FTP-, Dovecot-, and Solr-related tasks. This allows the server to group the commands together, which results in higher efficiency and lower run times.
Visual changes to alerts
In cPanel & WHM version 74, we improved how the interface displays alerts. In previous versions, the system presented many alerts inline within the interface. When this occurred, the alerts would move content in the interface. Now, the system floats the alerts at the top of most interfaces and does not alter the page's layout.
EasyApache 4 interface
We updated the Home section of WHM's EasyApache 4 interface (WHM >> Home>> Software >> EasyApache 4) to display the Update EasyApache 4 button and only update EasyApache 4 packages. If updates exist, this link opens the Review section of the EasyApache 4 interface, populated with the packages that require updates. Otherwise, this button displays EasyApache 4 is up to date.
In previous versions of cPanel & WHM, the interface displayed Run System Update, and opened WHM's System Update interface (WHM >> Home >> Software >> System Update) when clicked.
We updated the MultiPHP Manager interface (Home >> Software >> MultiPHP Manager) in both cPanel and WHM to display PHP versions in a more human-readable format.
cPanel & WHM installation
We added the
--skipreposetup option to the cPanel & WHM installation script. This option skips the installation of the EasyApache 4 yum repositories. This is useful if you wish to use custom repositories instead of the cPanel & WHM-provided ones.
We made the
mod_fcgid Apache module compatible with EasyApache 4's MultiPHP system in cPanel & WHM version 74. However, if your default PHP version uses FCGId, then all PHP versions will use FCGId.
For more information, read our Apache Module: FCGId documentation.
Piped logging enabled by default
We now enable piped logging by default on fresh installs of cPanel & WHM. You can change this setting in the Piped Log Configuration section of WHM's Apache Configuration interface (WHM >> Home >> Service Configuration >> Apache Configuration >> Piped Log Configuration).
Back up the
We now back up the
/etc/cpanel/ea4/php.conf file whenever an action writes to the file. The system writes to the
/etc/cpanel/ea4/php.conf.bak/TIME.PID file, where
TIME represents the time the system made the change and
PID represents the process PID. The system only retains the 20 most recent
php.conf file changes.
When you run the
/scripts/upcp command with the
--force option, the system now executes the
yum clean all command before it runs
yum update, if required.
Apache SpamAssassin error log file rotated by default
In cPanel & WHM version 74, we updated the
cpanellogd daemon to compress and archive (rotate) the
/usr/local/cpanel/logs/spamd_error_log file by default. You can select the files that you want to rotate in WHM's cPanel Log Rotation Configuration interface (WHM >> Home >> Service Configuration >> cPanel Log Rotation Configuration).
pkgacct script options
/usr/local/cpanel/scripts/pkgacct script now includes new options to exclude an account's mail and
public_html directories. For more information, read our The pkgacct Script documentation.
Deprecated and removed items
Removed one tweak setting
In cPanel & WHM version 74, we removed the Include password in the raw log download link in cPanel (via FTP) setting from the Stats and Logs section of WHM's Tweak Settings interface (WHM >> Home >> Server Configuration >> Tweak Settings). We also removed the
ftppasslogs key from the
EasyApache 4 profiles and end-of-life versions of PHP
We removed PHP 5.4 and 5.5 from the cPanel-provided EasyApache 4 profiles. EasyApache 4 adheres to the php.net supported versions timeline. The profiles that we supply in WHM's EasyApache 4 interface (WHM >> Home >> Software >> EasyApache 4) only provide PHP versions that php.net currently supports.
RPMs for unsupported versions of PHP will remain on the cPanel Inc. mirrors and servers, but we will not provide any further updates.
Removed XML output in API functions
In cPanel & WHM version 74, we removed the Extensible Markup Language (XML) output format from all of our API functions. We previously deprecated XML output in cPanel & WHM version 66.
You must use the JSON return format when you call API functions.
Appendix A: Third-party applications
cPanel & WHM version 74 includes the following third-party applications:
cPanel & WHM version 74 includes the following PHP modules:
cPanel & WHM version 74 includes the following Perl modules:
cPanel & WHM uses the following operating system-provided third-party applications:
Appendix B: New and modified API functions
New UAPI functions
DCV::check_domains_via_dns— This function checks whether the account's domains can pass Domain Control Validation (DCV) via a DNS request.
Email::delete_held_messages— This function deletes all outbound email messages held in the mail queue for the specified email account.
Email::get_held_message_count— This function returns the count of outbound email messages held in the mail queue for the specified email account.
Mysql::add_host_note— This function adds a note about a remote MySQL® server.
Mysql::get_host_notes— This function returns the notes associated with the account's remote MySQL® hosts.
Personalization::get— This function retrieves the data from an NVData file on disk.
Personalization::set— This function saves its data to an NVData file on disk.
SpamAssassin::clear_spam_box— This function clears the spam box of all its contents for all email accounts.
Excerpt Include DD:UAPI Functions - VersionControlDeployment::create DD:UAPI Functions - VersionControlDeployment::create nopanel true
New WHM API 1 functions
personalization_get— This function retrieves the data from an NVData file on disk.
personalization_set— This function saves its data to an NVData file on disk.
restore_config_from_file— This function restores a configuration backup from a file. If the backup file does not contain any changes, the system does not write to the configuration file.
restore_config_from_upload— This function restores a configuration backup file via HTTP POST method. If the backup file does not contain any changes, the system does not write to the configuration file.
Modified UAPI functions
Market::get_all_products— Added the
Market::request_ssl_certificates— Updated the
Excerpt Include DD:UAPI Functions - VersionControl::create DD:UAPI Functions - VersionControl::create nopanel true
Excerpt Include DD:UAPI Functions - VersionControl::retrieve DD:UAPI Functions - VersionControl::retrieve nopanel true
Excerpt Include DD:UAPI Functions - VersionControl::update DD:UAPI Functions - VersionControl::update nopanel true
Modified WHM API 1 functions
backup_destination_add— Added the
backup_destination_get— Added the
backup_destination_list— Added the
backup_destination_set— Added the
get_adjusted_market_providers_products— Added the
get_autossl_pending_queue— Added the
get_autossl_pending_queue_for_domain— Added the
get_autossl_pending_queue_for_user— Added the
get_market_providers_products— Added the
get_market_providers_product_metadata— Added the