Need Help Turn Off Safe Mode, Open_basedir

Discussion in 'PHP' started by kenei, Oct 22, 2009.

  1. #1
    Hi!
    I changed my server & got error unable to activate text-link-ads due to some safe mode or Open_basedir problem.

    I created phpinfo.php but i don't know the codes for turning off safe mode & setting off the open_basedir. And where do i upload the phpinfo.php

    How do i run a phpinfo() script first to get the current settings ?

    Thanks
    kenny
     
    kenei, Oct 22, 2009 IP
  2. phprightnow

    phprightnow Peon

    Messages:
    296
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    That's something your host has to do via root access. It's controlled via the PHP.ini settings.
     
    phprightnow, Oct 22, 2009 IP
  3. JAY6390

    JAY6390 Peon

    Messages:
    918
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    0
    #3
    to run phpinfo just use
    <?php echo phpinfo(); ?>
    in a script
     
    JAY6390, Oct 22, 2009 IP
  4. kenei

    kenei Peon

    Messages:
    93
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Where do i find php.ini settings ?

    Safe mode if OFF but the open_basedir value shows NO VALUE

    What code do i need to use & where do i need to to change the open_basedir value
     
    kenei, Oct 22, 2009 IP