Viewing 11 replies - 16 through 26 (of 26 total)
  • Thread Starter stathis_k91

    (@stathis_k91)

    read the comments for the right path and add the code in the beginning of the .httacces before wordpress

    i put it in exactly as you said and i get an internal server error 500

    P.S. I executed that script and copied the path from the output of it.

    Plugin Author nintechnet

    (@nintechnet)

    @jpw94 : this thread is about the Litespeed HTTP server. Are you using it? Or are you using Apache?

    yes. apache. does that make a difference in how the htaccess is configured?

    Plugin Author nintechnet

    (@nintechnet)

    You must use a PHP INI file.
    Maybe your host is using suPHP ? Try to run the installer again and, in the “System Configuration” page, select “Apache + suPHP” and then choose “php.ini”.

    that didn’t work either. I confirmed that the host is using CGI/Fast CGI

    Plugin Author nintechnet

    (@nintechnet)

    1. Besides NinjaFirewall directives, do you have anything else in your php.ini file?

    2. Can you try to rename it to “.user.ini” (its name starts with a ‘.’ dot)? You may need to wait up to 5 minutes before PHP reloads it.

    nothing else in php.ini
    i’ve renamed it.

    Plugin Author nintechnet

    (@nintechnet)

    If it did not make any difference, then rename it back to “php.ini”.

    1. Download this file.
    2. rename it to “ninjacheck.php”.
    3. upload it to your website.
    4. the go to “YOUR_WEBSITE.COM / ninjacheck.php” and paste the output here.

    The solution (.user.php) worked!

    Thanks for the prompt responses!

Viewing 11 replies - 16 through 26 (of 26 total)

The topic ‘failed connect php ini’ is closed to new replies.