Title: Problem setting up plugin
Last modified: October 11, 2016

---

# Problem setting up plugin

 *  Resolved [Charma Communications](https://wordpress.org/support/users/charmadesignstudio/)
 * (@charmadesignstudio)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/problem-setting-up-plugin-2/)
 * Hi,
 * I keep getting errors when trying to install on the website.
 * I’ve tried php.ini file configuration as directed by the prompt but this fails
   as does php5.ini
    but allows me to go back and try again. When I select user.
   ini I get the error below:
 * NinjaFirewall fatal error: Cannot retrieve WordPress database credentials. Review
   your installation. Your site is not protected.
 * Firewall Cannot retrieve WordPress database credentials
    PHP SAPI CGI-FCGI (5.6.24)
   Version 3.3.1 (security rules: 2016-10-03.1)
 * The host is JustHost. I have another site hosting on their servers and it works
   so not sure what I am not doing/setting up right this time round. Please advise.
 * Thanks

Viewing 1 replies (of 1 total)

 *  Plugin Author [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * (@nintechnet)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/problem-setting-up-plugin-2/#post-8280160)
 * Hi,
 * `.user.ini` is likely the format you need to use (it’s the default one since 
   PHP 5.3).
 * Regarding the database, you can download that script: [http://nintechnet.com/share/wp-db.txt](http://nintechnet.com/share/wp-db.txt)
 * 1. Rename the file to “wp-db.php”.
    2. Upload it into your WordPress root folder.
   3. Go to [http://YOUR](http://YOUR) WEBSITE/wp-db.php 4. Delete it afterwards.
 * It will give you more details about the problem/error.

Viewing 1 replies (of 1 total)

The topic ‘Problem setting up 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/problem-setting-up-plugin-2/#post-8280160)
 * Status: resolved