Title: Installation Problem
Last modified: August 31, 2016

---

# Installation Problem

 *  Resolved [konus77](https://wordpress.org/support/users/konus77/)
 * (@konus77)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/installation-problem-130/)
 * Hello I would like to install NinjaFirewall on a multisite installation with 
   standard paths. I am using apache with fastcgi and phpversion 7.0.3 at the moment(
   same problem was wit 5.3.x)
 * My hoster uberspace.de allows me to use a own/dedicated php.ini which is not 
   located in document-root. I am also allowed to use .user.ini-files
 * My problem: I can’t pass the installation step “Select the PHP initialization
   file supported by your server” . After pressing the button “Next Step” the checkbox
   disappears and I am still on the same page.
 * I already tried to set the value ” SetEnv PHPRC …” in .htaccess
    What can I do?
 * [https://wordpress.org/plugins/ninjafirewall/](https://wordpress.org/plugins/ninjafirewall/)

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

 *  Thread Starter [konus77](https://wordpress.org/support/users/konus77/)
 * (@konus77)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/installation-problem-130/#post-7168494)
 * I created an empty .user.ini file and run the installer again, but nothing happend.
 * Here the output of the check:
 * NinjaFirewall (WP edition) troubleshooter
    HTTP server : Apache/2.2.15 (CentOS)
   PHP version : 7.0.3 PHP SAPI : CGI-FCGI
 * auto_prepend_file : none
    NinjaFirewall detection : NinjaFirewall is not loaded
 * Loaded INI file : /home/dd4kidsw/etc/php.ini
    user_ini.filename : .user.ini user_ini.
   cache_ttl : 300 seconds User PHP INI : .user.ini found –
 * DOCUMENT_ROOT : /var/www/virtual/dd4kidsw/html
    wp-config.php : found in /var/
   www/virtual/dd4kidsw/html/wp-config.php ABSPATH : /var/www/virtual/dd4kidsw/html/
   WordPress version : 4.4.2 WP_CONTENT_DIR : /var/www/virtual/dd4kidsw/html/wp-
   content Plugins directory : /var/www/virtual/dd4kidsw/html/wp-content/plugins
   User Role : Administrator
 * NinjaFirewall (WP edition) troubleshooter v1.2
 *  Plugin Author [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * (@nintechnet)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/installation-problem-130/#post-7168539)
 * Hi,
 * I think .user.ini is your best choice here. Note that the ‘SetEnv PHPRC’ directive
   should be used with php.ini, not .user.ini.
 * Do you see NinjaFirewall’s directive in your .user.ini file?
 * According to your paths, you should have:
 * 1. Inside your ‘/var/www/virtual/dd4kidsw/html/.user.ini’ file:
 *     ```
       ; BEGIN NinjaFirewall
       auto_prepend_file = /var/www/virtual/dd4kidsw/html/wp-content/nfwlog/ninjafirewall.php
       ; END NinjaFirewall
       ```
   
 * 2. Inside the ‘/var/www/virtual/dd4kidsw/html/wp-content/nfwlog/ninjafirewall.
   php’ file:
 *     ```
       <?php
       // ===============================================================//
       // NinjaFirewall's loader.                                        //
       // DO NOT alter or remove it as long as NinjaFirewall is running! //
       // ===============================================================//
       if ( file_exists('/var/www/virtual/dd4kidsw/html/wp-content/plugins/ninjafirewall/lib/firewall.php') ) {
       	@include('/var/www/virtual/dd4kidsw/html/wp-content/plugins/ninjafirewall/lib/firewall.php');
       }
       // EOF
       ```
   
 * Then it may take couple of minutes before PHP reload your .user.ini file.
 *  Thread Starter [konus77](https://wordpress.org/support/users/konus77/)
 * (@konus77)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/installation-problem-130/#post-7168581)
 * Thank you for the fast replay!
    I edited my newly created .user.ini file as recommended.
   The file ninjhafierwall.php was already in place and correct.
 * Now the firewall started working.

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

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

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