Title: Problems with deactivate plugin
Last modified: August 31, 2016

---

# Problems with deactivate plugin

 *  Resolved [PabloYglesias](https://wordpress.org/support/users/pabloyglesias/)
 * (@pabloyglesias)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/problems-with-deactivate-plugin/)
 * Hi!
 * I like to change my server provider, and for this, i need to eliminate in old
   host the plugin. But when i unistall the plugin, some others plugins doesn’t 
   work (only the asyncronus scripts?).
 * Of course, in the new server, i can’t active the plugin, so i have the same problems
   that in old server within NinjaFirewall.
 * I try to configure it but the plugin (or the Apache) doesn’t find php.ini, or.
   user.ini or php5.ini, but the plugin create them and i can see them in FTP!
 * What can i do?
 * Thanks so much
 * [https://wordpress.org/plugins/ninjafirewall/](https://wordpress.org/plugins/ninjafirewall/)

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

 *  Plugin Author [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * (@nintechnet)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/problems-with-deactivate-plugin/#post-7362779)
 * Hi,
 * Can you use this troubleshooter script:
    [http://nintechnet.com/share/wp-check.txt](http://nintechnet.com/share/wp-check.txt)
 * 1. Rename this file to “wp-check.php”.
    2. Upload it into your WordPress root
   folder. 3. Go to [http://YOUR](http://YOUR) WEBSITE/wp-check.php 4. Delete it
   afterwards.
 *  Thread Starter [PabloYglesias](https://wordpress.org/support/users/pabloyglesias/)
 * (@pabloyglesias)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/problems-with-deactivate-plugin/#post-7362826)
 * I prove this and the problems disappear!
 * But the plugin doesn’t work.
 * I have php.ini in the root folder, but the plugin say that:
 * NinjaFirewall fatal error: Unable to communicate with the firewall. Please check
   your PHP INI settings. Review your installation, your site is not protected.
 *  Plugin Author [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * (@nintechnet)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/problems-with-deactivate-plugin/#post-7362861)
 * Did you run the “”wp-check.php” script? Can you paste here the results?
 * Maybe you should try to rename “php.ini” to “.user.ini” ?
 *  Thread Starter [PabloYglesias](https://wordpress.org/support/users/pabloyglesias/)
 * (@pabloyglesias)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/problems-with-deactivate-plugin/#post-7362865)
 * Maybe can i send you private the results?
 * I try to rename php.ini to .user.ini, and the same problem. All works, but NinjaFirewall
   no.
 * Thanks
 *  Plugin Author [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * (@nintechnet)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/problems-with-deactivate-plugin/#post-7362886)
 * You can paste the results here. Just replace your domain name and directory paths
   with “xxxxx” to anonymise them.
 *  Thread Starter [PabloYglesias](https://wordpress.org/support/users/pabloyglesias/)
 * (@pabloyglesias)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/problems-with-deactivate-plugin/#post-7362891)
 * HTTP server : Apache
    PHP version : 7.0.4 PHP SAPI : CGI-FCGI
 * auto_prepend_file : /XXXXXXX/wp-content/nfwlog/ninjafirewall.php
    NinjaFirewall
   detection : NinjaFirewall WP Edition is loaded
 * Loaded INI file : /XXXXXX/php.ini
    user_ini.filename : none user_ini.cache_ttl:
   300 seconds User PHP INI : php.ini found –
 * DOCUMENT_ROOT : /XXXXXX
    wp-config.php : found in /XXXXXX/wp-config.php ABSPATH:/
   XXXXXX/ WordPress version : 4.5.2 WP_CONTENT_DIR : /XXXXXX/wp-content Plugins
   directory : /XXXXXXXX/wp-content/plugins User Role : Administrator
 *  Plugin Author [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * (@nintechnet)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/problems-with-deactivate-plugin/#post-7362917)
 * It shows that the firewall is loaded in the root folder, but not in the subfolder(
   wp-admin). That means that your php.ini file is not recursive and that you should
   probably add the `PHPRC` directive to your `.htaccess` file.
 * See the online help [Troubleshoot NinjaFirewall installation problems](http://blog.nintechnet.com/troubleshoot-ninjafirewall-installation-problems/),
   2nd paragraph (“Your PHP configuration makes the php.ini non-recursive”).
 *  Thread Starter [PabloYglesias](https://wordpress.org/support/users/pabloyglesias/)
 * (@pabloyglesias)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/problems-with-deactivate-plugin/#post-7362936)
 * Now yes!
 * Thanks so much nintechnet!

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

The topic ‘Problems with deactivate plugin’ is closed to new replies.

 * ![](https://ps.w.org/ninjafirewall/assets/icon-256x256.png?rev=976137)
 * [NinjaFirewall (WP Edition) - Advanced Security Plugin and Firewall](https://wordpress.org/plugins/ninjafirewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ninjafirewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ninjafirewall/)
 * [Active Topics](https://wordpress.org/support/plugin/ninjafirewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ninjafirewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ninjafirewall/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [PabloYglesias](https://wordpress.org/support/users/pabloyglesias/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/problems-with-deactivate-plugin/#post-7362936)
 * Status: resolved