WordPress

Quickly Disable All WordPress Plugins via phpMyAdmin

Updated November 2026 9,055 views 3 min read
WordPress | Updated November 2026

If a WordPress plugin is causing your site to crash, show a white screen, or lock you out of the admin panel, you can disable all plugins at once through the database without needing to log into WordPress.

01. Step by Step

  1. Log into cPanel > Databases > phpMyAdmin
  2. Select your WordPress database from the left sidebar
  3. Click the "SQL" tab
  4. Run this query:
UPDATE wp_options SET option_value = 'a:0:{}' WHERE option_name = 'active_plugins';
  1. Visit your site - It should load now with all plugins deactivated
  2. Log into WordPress admin
  3. Go to Plugins and reactivate them one at a time, checking your site after each one
Finding the Problem Plugin

Reactivate plugins one by one, refreshing your site after each. When the site breaks again, the last plugin you activated is the culprit. Either update it, find an alternative, or contact the plugin developer. See Optimize WordPress Performance for identifying resource-heavy plugins.

Table Prefix

If your WordPress installation uses a custom table prefix (not the default wp_), replace wp_options with your actual prefix. Check wp-config.php for the $table_prefix value.

02. Alternative: Rename the Plugins Folder

If you prefer not to use SQL, you can rename the plugins directory via cPanel File Manager or FTP:

  1. Navigate to wp-content/
  2. Rename plugins to plugins_disabled
  3. Visit your site - WordPress automatically deactivates all plugins when it cannot find the folder
  4. Rename back to plugins
  5. Reactivate one at a time in WordPress admin

Site Still Down After Disabling Plugins?

If disabling all plugins does not fix the issue, the problem may be your theme, a corrupted core file, or a database issue. Open a ticket and we will investigate.

Open a Support Ticket

Frequently Asked Questions

Does this delete my plugins or their settings?

No. The query only deactivates every plugin. The plugin files and their saved settings stay in place, so reactivating a plugin restores it exactly as it was.

What if my tables do not start with wp_?

Replace wp_options with your actual table prefix. Look up the $table_prefix value in your wp-config.php file and use that prefix followed by options.

How do I find which plugin caused the problem?

Once the site loads again, log into WordPress and reactivate plugins one at a time, checking the site after each. The plugin you activate right before the site breaks again is the culprit.

The site is still broken after disabling every plugin. Now what?

If no plugin is active and the site still fails, the cause is usually the theme, a corrupted core file, or a PHP memory or error issue. Switch to a default theme, check the error log, and if it persists open a support ticket.

Quick Recap

  1. Run the SQL query in phpMyAdmin to deactivate all plugins at once
  2. Or rename the plugins folder via File Manager
  3. Reactivate one at a time to find the problem plugin
  4. Check your table prefix in wp-config.php if using a custom prefix
  5. Still broken? The issue may be the theme or WordPress core

WordPress emergency troubleshooting · Last updated November 2026 · Browse all WordPress articles

Share: X in Reddit f Email
  • 185 Users Found This Useful

Was this answer helpful?

Related Articles

Elementor Critical Error with Both Elementor and Elementor Pro

WordPress | Updated March 2026 When both Elementor (free) and Elementor Pro are active and...

How to Install WordPress

WordPress | Updated November 2026 Installing WordPress on your Ultra Web Hosting account...

How to Fix a Hacked WordPress Site

WordPress Security | Updated January 2026 If your WordPress site has been hacked, defaced, or...

Securing WordPress with Wordfence or Solid Security

WordPress | Updated July 2026 Every WordPress site on Ultra Web Hosting already sits behind a...

WordPress Site Search

WordPress | Updated November 2026 WordPress includes a built-in search that lets visitors...



Save 30% on web hosting - Use coupon code Hosting30