LAMP(Linux + Apache + MySQL + PHP)架构是目前世界上最流行的中小型网站服务的采用的环境,其易用性、安全性得到了广大用户的认可。在广大 Windows 操作系统的使用者中,不乏想要要采用“AMP”服务器环境的 Web 开发者,本文将详细介绍如何在 Windows 系统下安装 Apache、MySQL、PHP 服务器环境。
笔者采用的是 Windows 7 Ultimate 操作系统,并在 Windows XP Professional 和 Windows 2003 Server 系统上测试通过,理论上支持包括 2000、XP、2003、Vista、7、2008 在内的所有 NT 4.0 以上的 Windows 操作系统。 安装前的准备工作
首先,到各软件官方网站下载其最新版安装程序:
Apache HTTP Server 2.2.17
下载页面:http://httpd.apache.org/download.cgi
http://www.apache.org/dist/httpd/binaries/win32/
PHP 5.3.5 (VC6 x86 Thread Safe)
下载页面:http://php.net/downloads.php
http://windows.php.net/download/
MySQL Community Server 5.5.8
下载页面:http://www.mysql.com/downloads/mysql/