Home >php教程 >php手册 >Cygwin中安装PHP方法步骤,cygwin安装php步骤

Cygwin中安装PHP方法步骤,cygwin安装php步骤

WBOY
WBOYOriginal
2016-06-13 08:58:421380browse

Cygwin中安装PHP方法步骤,cygwin安装php步骤

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包
复制代码 代码如下:
apt-cyg install php -m ftp://ftp.cygwinports.org/pub/cygwinports

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