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

Cygwin中安装PHP方法步骤

WBOY
Release: 2016-06-06 20:02:28
Original
2233 people have browsed it

这篇文章主要介绍了Cygwin中安装PHP方法步骤,本文共用3步完了PHP的安装,相对来说挺简单的,需要的朋友可以参考下

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

复制代码 代码如下:


$ wget
$ 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

Related labels:
source:php.cn
Statement of this Website
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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template