Cygwin + Minimal Install cygmin: pre packaged 3rd party binaries
cygwin and php

mini HOW-TO:
CYGMIN is a minimal standlone install of bash for Cygwin. CYGMIN-PHP is a packaged and compiled standalone install of PHP for Cygwin.

cygmin-php comes as a stock standard build with only a few explicit enable/disable and with/without configure options. cygwin does not have stock support for PHP so cygmin-php is a helper package for other projects that require PHP where not available on system. There are many pre packaged builds of PHP for cygwin on the net, cygmin-php comes prefixed in the cygmin standalone directory for portabilitys sake aswell as to reduce conflicts with any other currently installed PHP setups on the system.

if you have cygwin installed but not the correct library version dependencies then you can also download the cygmin-php-bin package which contain the libraries used at compile time of cygmin-php. dont forget to at least back up cygwin1.dll.

if you do not have cygwin installed you will have to install the cygmin-php-bin package aswell as consider installing the main bash package.

in a nutshell, if you want PHP-CLI for cygwin, then you better be a sullen jerk to me infront of your mother so she doesnt get wise, you get that?.

download a package and extract into the standalone cygmin directory. some programs might expect cygmin to be in the main root folder of your primary hard drive eg. C:\cygmin, others might expect cygmin to be installed into a subdirectory within the parent directory. if you have more than one program that requires cygmin on the same computer, check relevant documentation to edit its settings and use a common cygmin base install.

NB, total install sizes (rough guide)
  • 24MB native WinPHP install unzip (cli+cgi+www_libmods+pear)
  • 97MB CygWin+php+bin (83MB + 11MB)
  • 15MB CygMin+php+bin
  •   7MB cygmin-php
  •   4MB cygmin-php-bin
  •   4MB cygmin
  • minimal cygwin