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.

PHP info for Newbie

Discussion in 'General Discussion' started by globin, Mar 20, 2008.

  1. globin

    globin Registered

    Joined:
    Mar 20, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Where can I find the following areas in PHP admin to change this info? Please help!

    PHP safe mode (off)
    PHP register_global (o)
    PHP open_basedir (off)\PHP magicquotes_gpc (on)
    CURL extension (yes)

    Thanks!
     
  2. trevHCS

    trevHCS Well-Known Member

    Joined:
    Nov 1, 2003
    Messages:
    69
    Likes Received:
    1
    Trophy Points:
    8
    The easiest way is to go into Web Host Manager -> Service Configuration -> PHP Configuration Editor and then switch into Advanced Mode (link at the top). Then you can edit those from there.

    Alternatively you can edit them under php.ini directly, which can be found at:
    /usr/local/lib/php.ini but it's more of a pain doing it that way and don't forget to restart Apache afterwards for the changes to take effect.

    This assumes you've got root server access. If not then you'll need to talk to your web host.

    Edit: I think you can turn off Register Globals by using .htaccess commands, but the others will be system settings so really you're going to need the root access.

    Trev
     
Loading...

Share This Page