News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevX:
Integrating Bash with PHP
February 13, 2009 @ 11:14:47

This DevX tutorial shows you how to use a unix-based shell in PHP in three different environments (using three different tools) on Windows.

This article discusses how to install and configure three Bash distributions for Windows: the GNU BASH shell for Windows, the Win-Bash Windows port, and the Cygwin tool. It also demonstrates how to execute Bash scripts using PHP, how to send different types of arguments to a Bash script, how to use Bash functions from PHP, and how to save results to a text file.

They start with the Windows installs using the GNU Bash shell for Windows, Cygwin and Win-Bash with a healthy dose of code thrown in between. Examples include both the bash scripting and PHP script sides to push the output of the commands into local text files.

0 comments voice your opinion now!
integrate bash tutorial windows winbash cygwin gnubash tool


blog comments powered by Disqus

Similar Posts

NetTuts.com: Turbocharge your Website with Memcached

Edin Kadribasic's Blog: PHP 4.4.3 for Windows with 5.0.22 MySQL libraries

Developer.com: Combining an Oracle Database with PHP to Manage Data

SitePoint PHP Blog: How to Run Multiple Versions of PHP on One Server

NETTUTS.com: CodeIgniter From Scratch: Day 5 – CRUD


Community Events





Don't see your event here?
Let us know!


language conference framework podcast tool release interview introduction series composer library list security artisanfiles voicesoftheelephpant community symfony laravel version opinion

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework