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
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.
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.
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?