[resolved] php safe-mode on? (7 posts)

  1. givesuccess
    Posted 4 years ago #

    I tried this plugin to bu my site and ogt this php error:
    BackUpWordPress has detected a problem. PHP is running in Safe Mode. Please contact your host and ask them to disable Safe Mode.
    I put the phpinfo.php file in root and it show safe-mode as off! I run my own vps so am sure it is off?
    Any help/ideas?? It is for a client who want to be able to back up community site daily.




  2. kieransharp
    Posted 3 years ago #

    Did you find out how to resolve the issue? I've got the same problem. CPanel | PHP Configuration assures me that safe mode is not on, but backupwordpress is throwing the Safe Mode error.


  3. Tom Willmot
    Human Made
    Plugin Author

    Posted 3 years ago #

    The code in the plugin which checks whether safe_mode is active or not is very simple.

    Could you add a file with the following code to your server and see what it outputs.

    <?php var_dump( ini_get( 'safe_mode' ) ); ?>
  4. givesuccess
    Posted 3 years ago #

    I made text file xxx.php and put it in sites root the browsed to it and got:

    string(3) "off"

    is it server wide or should i check each site that i want to use this plugin on?

  5. kieransharp
    Posted 3 years ago #

    Thanks for getting on to it Tom. You were right, and I got
    string(1) "1"

    Actually while hunting down a different error I read that you could put a php.ini file in wp-admin. So while I was there I thought I'd try:
    safe_mode = Off

    And the problem went away :D

  6. Tom Willmot
    Human Made
    Plugin Author

    Posted 3 years ago #

    Glad to hear that solved it for you kieransharp.

    givesuccess, the setting can be per site so you'll need to make sure you test the actual site your getting the BackUpWordPress safe_mode warning on.

  7. givesuccess
    Posted 3 years ago #

    Ok ty i'll try it on each as i need it then! :-)

    Then i try to pu it in wp-admin as file php.ini to see if that easier way works for me/them!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • BackUpWordPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic