i need help guys

Discussion in 'PHP' started by rolanduk, Jul 1, 2010.

  1. #1
    Hy

    I try to setup my ptc script, but when i instaled and setup mysql setting, the site take my to the admin platform. There i can do nothing, because showing me i have something wrong. I f you want to have look, the link is www.petckey.webege.com

    and the warning message is this:

    Warning: shell_exec() has been disabled for security reasons in /home/a2564571/public_html/lib/lib_functions.php on line 12

    Please guys, if someone can help me, let me know! Thank u
     
    rolanduk, Jul 1, 2010 IP
  2. rolanduk

    rolanduk Greenhorn

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #2
    sorry is ptckey.webege.com
     
    rolanduk, Jul 1, 2010 IP
  3. anands

    anands Well-Known Member

    Messages:
    436
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    120
    #3
    Hi ronalduk,

    It seems you have PHP "Safe Mode" enabled. This message comes only if php runs in safe mode. Just remove it and try!!

    Contact your host if you want to update it.
     
    anands, Jul 1, 2010 IP
  4. lukeg32

    lukeg32 Peon

    Messages:
    645
    Likes Received:
    19
    Best Answers:
    1
    Trophy Points:
    0
    #4
    It may not be because of safe mode.... im not sure any web host would be running that anyway.

    You can disable functions in php.ini in the "disable_functions = " clause, and FOR GOOD REASON some hosts do this to the like of exec and shell_exec.

    Do you *really* need to use shell_exec? if you do, then you will need to contact your host or move providers, since, as mentioned above, some disable it for good reason.
     
    lukeg32, Jul 1, 2010 IP
  5. Connor Beaton

    Connor Beaton Peon

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Did you write the script? If so, you should probably know of a work-around allowing you not to use shell_exec. I don't see why it would be using shell_exec unless it uses a piece of server software like ffmpeg. Mind pasting line 12 of lib/lib_functions.php here for us to take a look at?
     
    Connor Beaton, Jul 1, 2010 IP