Safe mode

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • LoRdGd
    New Member
    • Mar 2008
    • 29
    • 3.6.x

    Safe mode

    Hello,
    I want to export pictures from database to a directory in my server, but i need to turn off PHP Safe Mode.
    Can anybody help me, and tell me how to do it? Where can i find this settings?

    Regards!
  • royo
    Senior Member
    • Jan 2005
    • 417
    • 3.7.x

    #2
    You need to go into your php.ini and turn it off, the setting is called safe_mode and the value should be 0. The location could be /etc/php.ini, though it depends.
    Oppressed.

    Comment

    • choppers4life
      Senior Member
      • Aug 2004
      • 277
      • 3.6.x

      #3
      Run "php -i |grep php.ini" in shell to find out where your loaded php.ini is located.

      Comment

      • hector2000
        New Member
        • Aug 2007
        • 22
        • 3.6.x

        #4
        always this option(safe mode) should be disable?(even after transfer files from database to server?)
        if this option always be disable then my site will hack soon(my server is linux)

        Comment

        • hector2000
          New Member
          • Aug 2007
          • 22
          • 3.6.x

          #5
          no answer?

          Comment

          • royo
            Senior Member
            • Jan 2005
            • 417
            • 3.7.x

            #6
            Safe mode will indeed offer a bit more protection in case you have old scripts on your server that are vulnerable, but might make some of your newer scripts not work right. If you only use well built scripts and no hacks/mods which are badly built you should be able to run with safe mode off.
            Oppressed.

            Comment

            widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
            Working...