Windows安装Apache2.4和PHP5.6
VC11 下载 安装 http://www.microsoft.com/en-us/download/details.aspx?id=30679 ================= PHP(5.6) VC11 x86 Thread Safe php-5.6.4-Win32-VC11-x86.zip 下载地址:http://windows.php.net/download/ 解压并建立php.ini文件 ================= Ap
VC11 下载安装
http://www.microsoft.com/en-us/download/details.aspx?id=30679
=================
PHP(5.6) VC11 x86 Thread Safe
php-5.6.4-Win32-VC11-x86.zip
下载地址:http://windows.php.net/download/
解压并建立php.ini文件
=================
Apache(2.4)
httpd-2.4.10-win32-VC11.zip
下载地址:http://www.apachelounge.com/download/
手册下载:http://mirror.bit.edu.cn/apache/httpd/docs/
解压,示例目录(E:/WAMP)
修改主配置文件:conf/http.conf
ServerRoot "E:/WAMP/Apache"
ServerName desktop
DocumentRoot "E:/WWW"
DirectoryIndex index.html index.php
Include conf/extra/httpd-vhosts.conf
#关联PHP
LoadModule php5_module E:/WAMP/PHP/php5apache2_4.dll
AddType application/x-httpd-php .php
PHPIniDir "E:/WAMP/PHP"
修改虚拟主机配置文件:conf/extra/httpd-vhosts.conf
ServerName desktop DocumentRoot "C:/Users/Administrator/Desktop" Options Indexes FollowSymLinks AllowOverride FileInfo
添加系统服务:httpd.exe -k install -n "Apache24"
卸载系统服务:httpd.exe -k uninstall -n "Apache24"
上一篇: 简化PHP开发的10个工具
推荐阅读
-
Windows安装Apache2.4和PHP5.6
-
windows10下安装搭建django1.10.3和Apache2.4的详细教程
-
Windows下大数据开发环境安装和配置详细步骤(Java、Maven、IDEA)
-
memcached—如何在Windows操作系统中安装、启动和卸载memcached
-
Python3.7源码在windows(VS2015)下的编译和安装
-
Windows系统下nodejs、npm、express的下载和安装教程详解
-
Windows下PHP5和Apache的安装与配置_PHP
-
Windows下MongoDB安装,配置和使用
-
Logstash(安装篇):Windows下安装和运行Logstash
-
Windows下MongoDB安装和配置