• Resolved mikerinos

    (@mikerinos)


    Hi,

    I stuck in the loop enough: chitchat -> configuration – > enough chitchat -> configuration

    My site is in a folder /site/

    So 2 questions:
    -Should I modify the Path to WordPress root directory to /site/ or just the root?
    -Then what’s next? Should I rename the php.ivi to php5.ini?

    Any help is appreciated! 🙂

    https://wordpress.org/plugins/ninjafirewall/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author nintechnet

    (@nintechnet)

    Hi,

    Should I modify the Path to WordPress root directory to /site/ or just the root?

    If you followed this article, then you need to change the path during the installation process. This is a very specific installation.
    Otherwise, you don’t need to change anything.

    Then what’s next? Should I rename the php.ivi to php5.ini?

    According to Goddady “What filename does my PHP initialization file (php.ini) need to usephp5.ini is what you should use on shared hosting accounts, and .user.ini if you have your own dedicated/VPs server.
    You may also need to wait a couple of minutes after the change.

    Rename your php.ini accordingly, then edit the .htaccess file so that the line added by the installer (SetEnv PHPRC xxxxx) points to that new INI file.

    Thread Starter mikerinos

    (@mikerinos)

    ok so:

    path directory : /html/site/
    and php5.ini

    Now I need to wait a few minutes now (cross fingers) 🙂

    Thread Starter mikerinos

    (@mikerinos)

    Well, it did not worked.
    Should I install it to /html/ ?

    Plugin Author nintechnet

    (@nintechnet)

    How do you access your WordPress site?
    1) http://domain.tld/
    Or:
    2) http://domain.tld/site/

    If it is 1), then you must change the path during the installation.
    If it is 2), do not change it.

    You can download this script, rename the file to ninjacheck.php, upload it in your WP root folder, call it from your browser and paste here the output.

    Thread Starter mikerinos

    (@mikerinos)

    NinjaFirewall (WP edition) troublershooter v1.01

    ========================== %< ============================

    HTTP server: Apache
    PHP version: 5.3.24
    PHP SAPI: CGI-FCGI
    Loaded INI file: /web/conf/php5.ini
    auto_prepend_file: none
    user_ini.filename: .user.ini
    user_ini.cache_ttl: 300
    user INI: php5.ini found
    PHPRC: /home/content/78/10529478/html/site/php5.ini
    DOCUMENT_ROOT: /var/chroot/home/content/78/10529478/html
    wp-config.php: error: cannot find wp-config.php
    ABSPATH: error: unknown
    WP version: error: unknown
    WP_CONTENT_DIR: error: unknown

    ========================== %< ============================

    so I guess i have to change the path to /html/
    root wp is in /html/site but I access the site by /html/
    I use “Pointing your home site’s URL to a subdirectory”

    Plugin Author nintechnet

    (@nintechnet)

    Yes, you need to change it.
    I recommend to delete all NinjaFirewall directives added to your php5.ini and .htaccess files and re-run the installer.
    During the installation, change the WP path, and select php5.ini.

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

The topic ‘goddady installation’ is closed to new replies.