标签:
1. 先安装 dotNetFx40_Full_x86_x64, vc_redist.x64_2015
2. 解压 httpd-2.4.20-win64-VC14, php-7.0.2-Win32-VC14-x64 到C盘根目录。
3. PHP环境配置 Path c:\php7\;c:\php7\ext 重启server2008R2
4. C:\Apache24\conf\httpd.conf 文件配置
ServerRoot "c:/Apache24"
DocumentRoot "c:/www"
PHPIniDir "C:/php7"
LoadModule php7_module "C:/php7/php7apache2_4.dll"
<IfModule mime_module>
TypesConfig conf/mime.types
AddType application/x-httpd-php .php .html .htm
5. cmd
C:\Apache24\bin\ httpd -k install
server2008R2 + PHP7 + Apache24
标签:
原文地址:http://www.cnblogs.com/sam8869/p/5651109.html