Title: Localhost: Having trouble activating a plugin
Last modified: October 17, 2016

---

# Localhost: Having trouble activating a plugin

 *  [keithaul](https://wordpress.org/support/users/keithaul/)
 * (@keithaul)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/localhost-having-trouble-activating-a-plugin/)
 * I would like to ask for help on plugins. I’m new to this area and I’m currently
   taking an online course. However, I haven’t gotten an answer from them yet.
 * I’m trying to activate/add my first plugin. My understand a plugin can be 1 file.
   In my case it’s a php file.
 * When I go to plugins in my admin site I dont see the file. so I’ve tried using
   the ‘add new’ link and I proceed to upload the file both as a singe file and 
   as a zip file and here are the errors I get:
 * Unpacking the package…
 * Installing the plugin…
 * The package could not be installed. No valid plugins were found.
 * Plugin install failed.
 * OR i get this error:
 * Unpacking the package…
 * The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find
   End of Central Dir Record signature
 * I’ve installed XAMPP and WordPress on my local host
 * Why am i getting these errors and how do I correct it?

The topic ‘Localhost: Having trouble activating a plugin’ is closed to new replies.

## Tags

 * [activating plugin](https://wordpress.org/support/topic-tag/activating-plugin/)

 * 0 replies
 * 1 participant
 * Last reply from: [keithaul](https://wordpress.org/support/users/keithaul/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/localhost-having-trouble-activating-a-plugin/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
