DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   PHP (http://www.daniweb.com/forums/forum17.html)
-   -   exec function on Windows XP (http://www.daniweb.com/forums/thread81265.html)

rinko Jun 18th, 2007 6:49 am
exec function on Windows XP
 
I am using Apache 2 with windows web server 2003 on the windows XP. I have problem using exec() command. My safe_mode is off. Does anyone know what can be the reason why exec() does not function? It is interesting that immediately when I restart the Apache server exec() command is carried out but only once.

pritaeas Jun 18th, 2007 10:33 am
Re: exec function on Windows XP
 
I think you'll have to set priviliges to the commands you want to execute. Also, check if in your httpd.conf the ExecCGI is in the Options directive, plus the extension has to be somewhere in there.

rinko Jun 18th, 2007 11:38 am
Re: exec function on Windows XP
 
How can I set priviliges to the commands I want to execute? Could you explain me this in more detail?
Thank you

pritaeas Jun 18th, 2007 6:15 pm
Re: exec function on Windows XP
 
If you tried the adjustment in httpd.conf and it still doesn't work... I'm sorry, I misread your question. I read Windows Web Server and assumed you had IIS running. You have apache so my solution doesn't apply. I'm really sorry.


All times are GMT -4. The time now is 10:54 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC