Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    151
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Domenico

    Domenico Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    373
    Likes Received:
    1
    Trophy Points:
    318
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Jammer2020

    Jammer2020 Member

    Joined:
    Jul 13, 2002
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    151
    Thanks Domenico! :) I will give that a try.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Domenico

    Domenico Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    373
    Likes Received:
    1
    Trophy Points:
    318
    Let us know if it worked for you ;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice