1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.1 How do I install version without disabling safe_mode

Discussion in 'Installation, Upgrade, and Import Support' started by ! semoo jordan !, Mar 23, 2013.

  1. Hello
    I do not know why in the versions
    Work must be disabled safe_mode

    And this I think it is not mandatory I hope to be the next versions do not require this option because it is annoying
    Most of the sites hosting does not disable safe_mode

    I hope you give me a practical way to install the script Without disrupting safe_mode
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    I believe disabling safe_mode is required for file system attachments and avatars which cannot happen with safe_mode enabled.

    You can try disabling it at run time by adding this to your library/config.php file:

    ini_set('safe_mode', true);
    But this might not work.

    And this is worth noting:


    I recommend suPHP as an alternative to safe_mode.
    ! semoo jordan ! likes this.

  3. Did not work the way unfortunately
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Then you must ask your host or server person to disable safe_mode on the server, and advise them about suPHP and the fact that safe_mode is being eliminated in PHP.
  5. I really do not know programmers script's insistence on disabled
    Because most hosting companies refuse to disable
  6. Mike

    Mike XenForo Developer Staff Member

    safe_mode doesn't exist in PHP any longer and it never actually worked to make anything safe other than in appearance (which is why it doesn't exist in PHP any longer). If your host refuses to disable it, then, frankly, find a better host.
    ! semoo jordan ! likes this.
  7. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Because of the file system attachments and avatars.

    safe_mode itself is being eliminated from PHP. Soon it will no longer be an option.
    ! semoo jordan ! likes this.

  8. Hosting Ultimate and I never suffer only they are refusing to disable safe_mode

    And currently work there is no alternative solution

    When this will be released
  9. Mike

    Mike XenForo Developer Staff Member

    DohTheme, Insy and ! semoo jordan ! like this.
  10. Gary Continue with hosting and told
    Thank you for help


Share This Page