Search code examples
phpxmlnant

How to execute a php file from nant script?


I want to execute one php file from my nant script. How can I do that.

Any body can help me with a sample code?


Solution

  • You want to use the <exec> task. You would use the same paramaters as if you were calling the PHP script from the command line.