Forums

[Plugin: WP Super Cache] Safe mode off, but plugin says otherwise (11 posts)

  1. fabianv
    Member
    Posted 3 years ago #

    When I installed this plugin It said that safe mode is turned on.

    I check my etc/php.ini file and see that safe mode is however off

    ;
    ; Safe Mode
    ;
    safe_mode=off

    The plugin says:

    Warning! PHP Safe Mode Enabled!

    any ideas?

  2. Donncha O Caoimh
    Member
    Posted 3 years ago #

    Take a look at the output of phpinfo(), is safe_mode enabled there?

  3. kyio
    Member
    Posted 2 years ago #

    hey, i have got the same error.
    safe mode ist turned OFF

    phpinfo() tells me:
    safe_mode Off Off
    (on local and master value)

    but the wp super cache plugin still tells me the server had save mode ON.
    what to do next?

  4. Donncha O Caoimh
    Member
    Posted 2 years ago #

    The plugin checks "ini_get( 'safe_mode' )" which is as basic as you can get. It's strange that it returns an incorrect value.

  5. kyio
    Member
    Posted 2 years ago #

    same thing here. the server runs confixx and i can see safe_mode is OFF using php info and some other scripts that only run under safe_mode off value.
    i can say this is the only script that shows me safe_mode ON.
    hope there is a solution for this

  6. Donncha O Caoimh
    Member
    Posted 2 years ago #

    kyio - what does ini_get( 'safe_mode' ) return?

    Create a php file and put this code into it
    <?php
    echo ini_get( 'safe_mode' );
    ?>

  7. kyio
    Member
    Posted 2 years ago #

    hey there. sorry, no email notification... i'm late.

    i tested your script and got this in return "off"

  8. Donncha O Caoimh
    Member
    Posted 2 years ago #

    Check your php.ini, does it have this line?
    safe_mode = "off"

    Change that to:

    safe_mode = Off

    Edit: this thread sheds further light on the problem. Looks like safe_mode can be the string "off" too. Really weird. I'll add a check for that.

  9. Donncha O Caoimh
    Member
    Posted 2 years ago #

    And this comment explains why you're seeing different values from almost everyone else. Grrr.

  10. Donncha O Caoimh
    Member
    Posted 2 years ago #

    kylo - try the dev version. I check for "off" now as well as the bool.

  11. kyio
    Member
    Posted 2 years ago #

    thank you. i will give it a try on my blog

Topic Closed

This topic has been closed to new replies.

About this Topic