Title: Plugin deactivation
Last modified: August 18, 2016

---

# Plugin deactivation

 *  [ervin](https://wordpress.org/support/users/ervin/)
 * (@ervin)
 * [21 years, 10 months ago](https://wordpress.org/support/topic/plugin-deactivation/)
 * How can I deactivate a plugin by editing a config file?
    I messed up a plugin
   installation (don’t ask how :)), and now I cannot access wp-admin (I get a lot
   of php source in the header and errors). I am sure I need to deactivate a plugin;
   I just can’ t access the admin panel, except through FTP.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [ervin](https://wordpress.org/support/users/ervin/)
 * (@ervin)
 * [21 years, 10 months ago](https://wordpress.org/support/topic/plugin-deactivation/#post-79498)
 * Never mind. I discovered that deleting the plugin deactivates it. How obvious!
 *  [masquerade](https://wordpress.org/support/users/masquerade/)
 * (@masquerade)
 * [21 years, 10 months ago](https://wordpress.org/support/topic/plugin-deactivation/#post-79540)
 * ervin, you problably could have just edited the plugin and removed whitespace
   before and after the PHP tags, a lot of people have that problem

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Plugin deactivation’ is closed to new replies.

 * 2 replies
 * 2 participants
 * Last reply from: [masquerade](https://wordpress.org/support/users/masquerade/)
 * Last activity: [21 years, 10 months ago](https://wordpress.org/support/topic/plugin-deactivation/#post-79540)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
