The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

safemode in PHP

Discussion in 'General Discussion' started by Jammer2020, Nov 2, 2002.

  1. Jammer2020

    Jammer2020 Member

    Joined:
    Jul 13, 2002
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Is it possible to turn safemode off for a single account? If so can someone tell me how to accomplish this. We are trying to get a billing script working and it requires that safemode be off and I dont want to turn it off for the entire server just our domain.

    Thanks in advance
     
  2. Domenico

    Domenico Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    360
    Likes Received:
    0
    Trophy Points:
    16
    I am pretty sure you can turn off safe mode on a virtual host or directory basis. In your httpd.conf

    &VirtualHost ...&
    php_value safe_mode off
    &/VirtualHost&

    Actually, you might need to use this:

    php_admin_flag safe_mode off
     
  3. Jammer2020

    Jammer2020 Member

    Joined:
    Jul 13, 2002
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Thanks Domenico! :) I will give that a try.
     
  4. Domenico

    Domenico Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    360
    Likes Received:
    0
    Trophy Points:
    16
    Let us know if it worked for you ;)
     
Loading...

Share This Page