0

Could you please tell me how to run exec() command on windows server 2003 R2. I am trying to run Subversion executable file, but php keeps returning me empty array instead of output. I have set up permissions for:

  • cmd.exe
  • system32 folder
  • subversion/bin folder
  • php folders

Please tell me what am I missing. Thank you very much in advance.

2
  • What does your error log say? Commented Mar 14, 2011 at 14:52
  • We can't help you if you don't give us anything to go on. Try to configure your webserver to produce an error log. Commented Mar 14, 2011 at 15:16

2 Answers 2

1

Try running your web server under a new user account (with admin permissions).

Sign up to request clarification or add additional context in comments.

Comments

0

Does something simple like exec('dir') work?

2 Comments

No... It only returns empty array.
I meant that $output returns empty array. I am sorry for lapsus.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.