We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 33966
    • 52 Posts
    Hi

    I wanted to update from working 2.2. to the newest version and I get the following message: test if safe_mode is "off": failed!

    I cannot change this in my hosting preferences, can i do it in .htaccess or do I have to talk to the hosting provider?

    Thanks.
    Markus
      • 3749
      • 24,544 Posts
      It would be somewhat unusual for you to have any control over it. You can try putting this in a php.ini file at the MODX root, but it's unlikely to work, imo:

      safe_mode = Off


      Safe mode was deprecated in PHP 5.3 and removed altogether in 5.4, so if you can get the host to upgrade to 5.4, it might solve your problem. Sometimes, you can upgrade the PHP version yourself in cPanel, but with a host who is still using safe mode, probably not.

      Food for thought: http://bobsguides.com/modx-friendly-hosts.html wink
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 33966
        • 52 Posts
        Thank you BobRay

        Meanwhile i found a possibility to change it in the hosting settings... so all ok.
        Markus


        Quote from: BobRay at Oct 31, 2014, 10:23 PM
        It would be somewhat unusual for you to have any control over it. You can try putting this in a php.ini file at the MODX root, but it's unlikely to work, imo:

        safe_mode = Off


        Safe mode was deprecated in PHP 5.3 and removed altogether in 5.4, so if you can get the host to upgrade to 5.4, it might solve your problem. Sometimes, you can upgrade the PHP version yourself in cPanel, but with a host who is still using safe mode, probably not.

        Food for thought: http://bobsguides.com/modx-friendly-hosts.html wink