Bash scripts [Answered]

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Bash scripts [Answered]

Postby Bonzo » 21. February 2012 20:25

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?
Bonzo
 
Posts: 3
Joined: 21. February 2012 20:20
Operating System: Vista

Re: Bash scripts

Postby JonB » 22. February 2012 01:49

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)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Bash scripts

Postby Bonzo » 22. February 2012 09:02

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:
Bonzo
 
Posts: 3
Joined: 21. February 2012 20:20
Operating System: Vista

Re: Bash scripts [Answered]

Postby JonB » 22. February 2012 20:43

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)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 136 guests