Problem with PHP Script

Discussion in 'PHP' started by yboord028, Oct 3, 2007.

  1. #1
    I'm trying to install a script and this comes up
    I'm supposed to put the path to the php, and i used the <?php phpinfo(); ?> code and i got the path and it was /usr/local/lib/php and that came up.I'm kind of confused as to how to solve this. Anybody got any ideas?
     
    yboord028, Oct 3, 2007 IP
  2. greys

    greys Peon

    Messages:
    49
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    What is the line in /home/www/sport-buzz.com/ff/offlconfig.php which tries to open this file?

    It's a regular inclusion of another piece of PHP (the lib/functions.php file) - such a scenario shouldn't require you to provide locations to the real php or its libraries.
     
    greys, Oct 3, 2007 IP
  3. yboord028

    yboord028 Peon

    Messages:
    26
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thats what the install says about it

    $DOC_ROOT = "/apache/htdocs/path";
    Code (markup):
    thats the line
     
    yboord028, Oct 3, 2007 IP
  4. yboord028

    yboord028 Peon

    Messages:
    26
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    if somebody wants to see the PHP info and help me out please pm me, i don't want everybody looking at the PHP info
     
    yboord028, Oct 3, 2007 IP
  5. ravish_83

    ravish_83 Peon

    Messages:
    221
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I think $DOC_ROOT should be somthing like /home/site_account_name/htdocs/path

    it will be nice if you can paste your file contents .Or tell us what script you are trying to install
     
    ravish_83, Oct 4, 2007 IP
  6. yboord028

    yboord028 Peon

    Messages:
    26
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    well pm me ill give more info. Im not gonna make the script vulnerable
     
    yboord028, Oct 4, 2007 IP