Blogger Information
Blog 142
fans 5
comment 0
visits 130034
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
阿里云Win2016安装Apache和PHP环境图文教程
php开发大牛
Original
700 people have browsed it

一、说明:项目需要在阿里云的WindowsServer2016上部署web环境,已经安装了Mysql,所以就不用一键安装(如phpstudy或者wamp来安装web环境了),就独立安装了Apache和PHP

二、安装

1、按照链接下载好这3个东西,根据你的系统是32位还是64位来下载,我的环境是64位的

参考下载地址

VC2015(建议,因为VC2012可能会缺少某些dll)

https://www.microsoft.com/en-US/download/details.aspx?id=48145

Apache

http://www.apachelounge.com/download/

PHP(这里注意的是需要下载不要Non版本的,non-thread-safe 是非线程安全与IIS 搭配环境,而thread-safe线程安全与apache 搭配的 环境)

http://windows.php.net/download/

下载完成


2、在WindowsServer2016里安装VC,直接打开vcredist_x64.exe安装


3、安装PHP,解压到某个盘,比如我的E盘,修改下文件名变成php56

4、找到系统变量修改

5、将E:\php56\php.ini-production 复制一份,并重命名为php.ini ,编辑php.ini文件


Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post