Title: TroubleShooting installation problem
Last modified: August 30, 2016

---

# TroubleShooting installation problem

 *  Resolved [paulbntz](https://wordpress.org/support/users/paulbntz/)
 * (@paulbntz)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/troubleshooting-installation-problem/)
 * Hi nintechnet, what directive i have to add to my htaccess file when i have this
   scenario:
 * “If the script returns that the firewall is loaded, it means that your php.ini
   is not recursive and that you need to add either the suPHP_ConfigPath or PHPRPC
   directives to your .htaccess.”
 * I do not know exactly what line i have to insert to the htacces file.
 * Any help?
 * Thanks.
 * [https://wordpress.org/plugins/ninjafirewall/](https://wordpress.org/plugins/ninjafirewall/)

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

 *  Plugin Author [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * (@nintechnet)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/troubleshooting-installation-problem/#post-6583843)
 * Hi,
 * You can have a look at this article: [http://blog.nintechnet.com/troubleshoot-ninjafirewall-installation-problems/](http://blog.nintechnet.com/troubleshoot-ninjafirewall-installation-problems/)
 * 1) PHPRC: this is done by adding the **full path to the php.ini** file to the
   PHPRC variable. For instance:
 *     ```
       <IfModule mod_env.c>
          SetEnv PHPRC /full/path/to/your/php.ini
       </IfModule></textarea>
       ```
   
 * 2) suPHP_ConfigPath: this is done by adding the **full path to your website document
   root** to the suPHP_ConfigPath variable. When installing NinjaFirewall, select“
   Apache + suPHP” and it will give you the correct instruction for your server.
   It will be similar to this:
 *     ```
       <IfModule mod_suphp.c>
          suPHP_ConfigPath /full/path/to/your/documentroot/
       </IfModule>
       ```
   
 *  Thread Starter [paulbntz](https://wordpress.org/support/users/paulbntz/)
 * (@paulbntz)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/troubleshooting-installation-problem/#post-6583885)
 * Hi again,
 * I have made the steps of point 1 with success.
 * Now i have the firewall enable and running.
 * Thanks.
 * Regards.

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

The topic ‘TroubleShooting installation problem’ 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [paulbntz](https://wordpress.org/support/users/paulbntz/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/troubleshooting-installation-problem/#post-6583885)
 * Status: resolved