Home > Article > Backend Development > Steps to install PHP in Cygwin, steps to install PHP in cygwin_PHP tutorial
1. Install apt-cyg package management tool in Cygwin
Copy code The code is as follows:
$ wget http://apt-cyg.googlecode.com/svn/trunk/apt-cyg
$ chmod x apt-cyg
$ mv apt-cyg /usr/local/bin
2. Install PHP package
Copy code The code is as follows:
apt-cyg install php -m ftp://ftp.cygwinports.org/pub/cygwinports
3. Check PHP version
Copy code The code is as follows:
$ php -v
PHP 5.5.13 (cli) (built: May 30 2014 17:16:54)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies