Home  >  Article  >  Backend Development  >  Cygwin中安装PHP方法步骤_php技巧

Cygwin中安装PHP方法步骤_php技巧

WBOY
WBOYOriginal
2016-05-16 20:11:571851browse

1.在Cygwin中安装apt-cyg包管理工具

复制代码 代码如下:

$ wget http://apt-cyg.googlecode.com/svn/trunk/apt-cyg
$ chmod +x apt-cyg
$ mv apt-cyg /usr/local/bin

2.安装PHP包
复制代码 代码如下:

3.查看PHP版本
复制代码 代码如下:

$ 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
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn