Portal Home > Knowledgebase > Articles Database > shell_exec
|Posted by JacobHaug, 03-13-2008, 06:59 AM|
|Okay, I am running into a few problems when it comes to using the above command. No it is not being blocked in the php.ini file. The issue has to do with permissions. On my old server everything worked fine until I moved over to this new server.
When I run that commend on the old server I got that users username. Which, makes since as that means anything created via PHP would be owned by that user. In fact, every other host I know of was like that. But, on the new server when I run the commend it shows up as "nobody". How can I fix this so my commands will run properly for me and my users?
|Posted by tix3, 03-13-2008, 07:24 AM|
|You should install something like suphp (if you are on a shared account you have to contact your host).
|Posted by foobic, 03-13-2008, 07:42 AM|
|Yep. Just to elaborate a bit, your script is working perfectly and it's telling you that the username of the user running your PHP script is "nobody" - the Apache user in CPanel (and maybe other) systems - ie. PHP is running as an Apache module.
|Posted by applicurearun, 03-17-2008, 10:35 AM|
|Just asking :
are you behind any "mode security" or "firewall"?
|Posted by david510, 03-17-2008, 09:45 PM|
I dont think your question is relevant here.
Add to Favourites Print this Article
JVM problem ? (Views: 285)