Skip to content

Softaculous WordPress installs on cPanel — defaults that bite

A walkthrough of the Softaculous WordPress installer defaults on cPanel and the four toggles you should change before the first install, not after the first incident.

Softaculous is fine. The defaults are the problem. We see the same three patterns on cPanel takeovers: admin as the username, a database prefix of wp_, and auto-update set to “everything, all the time.” Each is fixable in five seconds during install and a much bigger conversation a month later when something breaks.

What’s happening

Softaculous targets the broadest possible audience, so it ships defaults that work for someone clicking through a screen they don’t fully understand. That audience is not you. The installer happily reuses the same DB prefix across every WordPress install in a cPanel account, picks weak admin usernames, enables the entire automatic-update surface, and does not configure object cache or any constant beyond what core needs to boot.

How to verify

After the install finishes, check what Softaculous actually wrote:

wp option get siteurl
wp option get home
wp db prefix
wp user list --fields=ID,user_login,user_email,roles
wp config get DISALLOW_FILE_EDIT 2>/dev/null
wp config get AUTOMATIC_UPDATER_DISABLED 2>/dev/null

If wp db prefix returns wp_, if wp user list shows admin, or if either DISALLOW_FILE_EDIT or auto-updater controls return nothing, you got the defaults.

The fix

  1. In the Softaculous install screen, set Admin Username to something not in any wordlist. admin, administrator, the domain name, and the company name are all wordlist entries.

  2. Set Table Prefix to something account-unique, e.g. acme_wp1_. This isolates the install if another WordPress on the same DB user is compromised, and it sidesteps trivial automated SQLi attempts that hardcode wp_.

  3. Set Auto Upgrade to Minor Versions Only. Major version auto-updates and plugin auto-updates have caused more outages on our managed fleet than any single attacker. Track major versions separately under a change window.

  4. After install, immediately add to wp-config.php:

    define( 'DISALLOW_FILE_EDIT', true );
    define( 'WP_AUTO_UPDATE_CORE', 'minor' );
    define( 'AUTOMATIC_UPDATER_DISABLED', false );
  5. If the site will live on a managed cPanel server, also disable Softaculous’s own auto-upgrade for the install — otherwise you have two automation paths fighting each other.

Most of these are 30-second decisions. Making them at install time is much cheaper than untangling them later. For a managed cPanel fleet, this is part of how we set up enterprise WordPress hosting.