943,605 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 3979
  • PHP RSS
Jun 18th, 2007
0

exec function on Windows XP

Expand Post »
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.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
rinko is offline Offline
12 posts
since Apr 2007
Jun 18th, 2007
0

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.
Sponsor
Featured Poster
Reputation Points: 549
Solved Threads: 722
Bite my shiny metal ass!
pritaeas is offline Offline
4,156 posts
since Jul 2006
Jun 18th, 2007
0

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
rinko is offline Offline
12 posts
since Apr 2007
Jun 18th, 2007
0

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.
Sponsor
Featured Poster
Reputation Points: 549
Solved Threads: 722
Bite my shiny metal ass!
pritaeas is offline Offline
4,156 posts
since Jul 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: dosent like query
Next Thread in PHP Forum Timeline: Validating data in a field to a existing data stored in the database





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC