jdk Posted January 21, 2008 Share Posted January 21, 2008 I have safe_mode turned on for my client servers. When I try and run the server status script to incorporate it into WHMCS I get the following error about exec() and shell_exec() being disabled. How can I get this to work while leaving safe_mode enabled and not enabling these commands that could cause a huge security risk for the servers security? 0 Quote Link to comment Share on other sites More sharing options...
ganesh.rao Posted January 22, 2008 Share Posted January 22, 2008 You will need to switch off safe mode sooner or later when ur clients start complaining. You can go to PHP Configurations in WHM, Advanced Mode and then set the classes and functions you want to disable in specific. No other go! 0 Quote Link to comment Share on other sites More sharing options...
jdk Posted January 22, 2008 Author Share Posted January 22, 2008 I just looked I had already switched it off before. I just have the commands disabled thru WHM. I will give it some thought as it is not a big deal for me to list the servers status 0 Quote Link to comment Share on other sites More sharing options...
brianoz Posted January 24, 2008 Share Posted January 24, 2008 Safe mode isn't really necessary if you are running suphp or phpsuexec; it doesn't add a lot. Of course, if you don't have either of those, it does help, but I wouldn't rely on it for security. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.