21+ years in hosting · Jaipur, India · INR billing with 18% GST · 24/7 email support
Blog · WebJi® India

Activate a WordPress Plugin From cPanel

Quick answer

Use WP-CLI in cPanel Terminal or the enabled WP Toolkit Plugins interface to activate a WordPress plugin, then verify its status and test the site. Uploading files only installs it. Manual database edits can alter recorded state but bypass activation hooks, so preserve a backup and prefer supported tools, particularly during a lockout or Multisite change.

✓ In business since 2005
✓ INR + GST billing
✓ 24/7 Email Support — avg reply < 60 min
GuideWebJi®
knowledge
Read time
5 min
Sections
7
Updated
14 Nov 2026
Written by
WebJi® team

What activating a plugin from cPanel actually changes

Activate a WordPress plugin through a supported WordPress management tool, not merely by uploading its folder or adding a database value. A normal single-site installation records active plugins in its options table, but activation also checks requirements and runs hooks that direct database edits bypass.

  • Installed means the folder exists in wp-content/plugins, and WordPress loads none of it yet.
  • Active means the plugin's main file, such as akismet/akismet.php, is listed inside active_plugins.
  • cPanel has three writers for that row: WP-CLI in Terminal, the Plugins tab in WP Toolkit, and phpMyAdmin.

Uploading files through File Manager or FTP only installs a plugin. If a guide stops at dropping a folder into wp-content/plugins, it has finished the install and skipped activation. On cPanel hosting the available tools depend on the provider’s enabled features.

Start with a verified backup and restore path. Inspect WordPress error logs if the problem is a lockout rather than routine plugin installation.

Activate a plugin with WP-CLI in cPanel Terminal

Terminal plus WP-CLI is the shortest route, and it prints a result you can read. Use it when the account has shell access and cPanel shows the Terminal icon under Advanced.

  1. In cPanel open Advanced, then Terminal.
  2. Change to the folder that holds wp-config.php: cd ~/public_html. If WordPress lives in a subfolder, cd into that folder instead.
  3. Run wp plugin list. The name column is the slug you activate, which is often not the plugin's display name.
  4. Run wp plugin activate akismet, replacing akismet with that slug.
  5. Read it back with wp plugin list --status=active.

You know it worked when the last command prints the plugin with status active and the site loads without a blank page. If a caching plugin is running, clear the WordPress cache before you judge the front end.

Common failure: Error: This does not seem to be a WordPress installation. You are in the wrong directory. Run ls wp-config.php to confirm the folder, then cd again. If Terminal answers wp: command not found, the host has not enabled WP-CLI for shell users; use WP Toolkit or phpMyAdmin instead.

The WP-CLI activation command documents plugin slugs and network scope. If bootstrap errors prevent inspection, --skip-plugins and --skip-themes can help isolate ordinary components; must-use plugins are still loaded. Do not bypass requirements merely to force incompatible code to run.

Activate a plugin from WP Toolkit in cPanel

WP Toolkit is cPanel's own WordPress manager, and its Plugins tab toggles activation without shell or SQL. The host has to enable it, so the icon is missing on some accounts.

  1. In cPanel open Domains, then WP Toolkit.
  2. Select the site you want to change.
  3. Open the Plugins tab and find the plugin row.
  4. Switch the plugin on, then reload the tab.

You know it worked when the row still reads Active after the reload and /wp-admin/plugins.php shows the plugin switched on. If the WP Toolkit icon is absent, that is a server feature setting rather than a fault on your site; email support instead of hunting for an installer.

What phpMyAdmin can and cannot do for plugin recovery

phpMyAdmin can inspect or restore activation state, but a manual options edit does not run WordPress activation hooks. Prefer WP-CLI or WP Toolkit for normal activation, especially for plugins that create tables or need dependencies.

  1. Export the database before inspecting or changing activation state.
  2. Read the database name and actual table prefix from wp-config.php.
  3. Locate active_plugins in the correct options table and preserve its original value.
  4. If corruption caused a lockout, restore a verified value or follow an approved recovery procedure.
  5. Once access returns, activate the intended plugin through WordPress or a supported management tool and test its setup.

PHP serialisation uses byte lengths and an array count; copying another installation’s value can corrupt state or load the wrong code. The WordPress activation API also distinguishes ordinary and network-wide activation.

Why a wrong count wipes the whole plugin list

WordPress unserializes the value before it trusts it. When the declared length and the real string disagree, the read fails and the option comes back empty, so every plugin looks deactivated at once. That is the usual cause of a plugin list that empties itself after a database edit.

The repair is to stop hand-editing lengths. Restore the option from a database export, or set the value to the empty array a:0:{}, log in to wp-admin, and activate plugins from the Plugins screen where WordPress writes the serialization for you. Take a fresh database export before the next attempt.

Deactivate every plugin from cPanel during a lockout

Diagnose a WordPress lockout from logs and recent changes before disabling plugins. Preserve the active-plugin list and database. If a plugin conflict is plausible, disable the suspected plugin first; disabling all ordinary plugins is a temporary diagnostic step, not a confirmed cause.

  1. With Terminal, run wp plugin deactivate --all in the WordPress folder.
  2. Without Terminal, set active_plugins to a:0:{} in phpMyAdmin.
  3. Load the site and wp-admin. If both return, a plugin was the cause.
  4. Activate one plugin, reload, and repeat until the fault comes back. The plugin that breaks the page is the one to replace.

If the site still fails, inspect logs for theme, must-use plugin, network-active plugin or infrastructure faults. Emptying the ordinary plugin list does not rule out those other causes.

When to email support instead of editing the database

Email support@webji.services when phpMyAdmin will not open, the options table has no active_plugins row, or the site still fails with every plugin switched off. Say whether Terminal worked and paste the exact command and its output; that is faster to act on than a description.

Support is 24/7 by email in Hindi and English, with an average first reply under 60 minutes. The office phone is not a support line. Confirm that the account provides Terminal, WP-CLI and database access, on WordPress hosting with the scope and tools confirmed before ordering.

FAQ

Frequently asked questions

How do I activate a WordPress plugin from cPanel?

Activation means adding the plugin's main file to the active_plugins row in wp_options. In cPanel open Advanced, then Terminal, run cd ~/public_html, then wp plugin activate plugin-slug, and read it back with wp plugin list --status=active.

Can I activate a plugin without wp-admin access?

Yes. Use WP-CLI in cPanel Terminal, the Plugins tab in WP Toolkit under Domains, or phpMyAdmin to edit the active_plugins row. None of the three needs a working wp-admin login, which is why they are used during a lockout.

What is the correct active_plugins value in phpMyAdmin?

It is a PHP-serialised array of plugin main-file paths for ordinary single-site activation. The declared string lengths are byte lengths. Do not paste a generic sample over a live value: preserve the original and use a supported activation tool to run required hooks.

Why did my plugins disappear after editing the database?

A wrong character count makes WordPress fail to read the serialized value, and it treats active_plugins as empty. Restore the option from a database backup, or set it to a:0:{} and activate plugins again from the Plugins screen.

How do I deactivate all plugins from cPanel?

Run wp plugin deactivate --all in the WordPress folder from cPanel Terminal. Without Terminal, set active_plugins to a:0:{} in phpMyAdmin, reload wp-admin, then switch plugins back on one at a time.

Last editorial update: 14 November 2026.

WebJi® since 2005

Ready to get started with WebJi®?

Join 12,000+ businesses across India and overseas. INR pricing, 18% GST shown before payment and 24/7 email support in Hindi and English — average first reply under 60 minutes.