Forums

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

  1. fabianv
    Member
    Posted 9 months 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
    Member
    Posted 9 months ago #

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

  3. kyio
    Member
    Posted 5 months 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
    Member
    Posted 4 months 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 4 months 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
    Member
    Posted 4 months 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 months ago #

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

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

  8. donncha
    Member
    Posted 2 months 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
    Member
    Posted 2 months ago #

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

  10. donncha
    Member
    Posted 2 months ago #

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

  11. kyio
    Member
    Posted 1 month ago #

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

Reply

You must log in to post.

About this Topic