Page 1 of 1

Bash scripts [Answered]

PostPosted: 21. February 2012 20:25
by Bonzo
On a standard Windows setup with xampp installed is it possible to run a Bash script using php?

If not is there anything I can install extra to run a Bash script through xampp and php?

Re: Bash scripts

PostPosted: 22. February 2012 01:49
by JonB
Linux, I suppose... :shock: j/k

You might be able to run 'some bash scripts' using cyg-win... but you would be on your own and waaaaay out there...

http://www.cygwin.com/

Basically you do know that Bash scripts execute on Linux filesystems and use Linux shell commands, right??? :?:

Why don't you just set up a linux machine or partition???

"just asking"

Good Luck
8)

Re: Bash scripts

PostPosted: 22. February 2012 09:02
by Bonzo
Thanks for the reply JonB

You answer is what I suspected but thought I would ask anyway :D

It was something always at the back of my mind and the question came up on the Imagemagick forum which prompted me to ask.

I do not use bash scripts very often and as I can run them on my website it is not a problem.

That reminds me I have an old PC that I intended to install Linux on ( to learn ) when I brought my new one 2-3 years ago :roll:

Re: Bash scripts [Answered]

PostPosted: 22. February 2012 20:43
by JonB
That reminds me I have an old PC that I intended to install Linux on ( to learn ) when I brought my new one 2-3 years ago


There's a good idea! 8)