日期:2014-05-17  浏览次数:20743 次

安装win64位apache以及64位php和64位mysql

?

Currently no official?64bit?versions of?Apache?and?PHP?exists for Microsoft Windows. Only?MySQL?supports officially 64bit Windows. If you have a 64bit version of Windows (2003/XP/Vista) and want to keep your system pure 64bit here is the solution! In this guide I will show you how to install and set up Apache 2.2 x 64 web servers, PHP 5.2 x64 and MySQL 5.0/5.1 x64 on Windows 2003/XP/ Vista 64bit using?unofficial?binaries. Although this setup has been tested successfully on Windows Vista 64bit Home Premium, I am not responsible for any damages may occur to your computer by this guide. Proceed at your own risk.

Download needed software

Download unofficial binaries for?Apache x64?from blackdot.be:
http://www.blackdot.be/?inc=apache/binaries
Current version (November 2008): httpd-2.2.10-win64.zip

Download?PHP x64?from fusionxlan.com:
http://www.fusionxlan.com/PHPx64.php?

如果需要fanqiang那就下载CSDN的资源,地址如下:

http://download.csdn.net/download/qiuyu8888/3574736
Current version (September 2008): 5.2.5

Download latest official?MySQL 64bit?binaries for Windows:
http://dev.mysql.com/downloads/mysql/

Install Apache 64bit

Create a folder inside your C drive and named it something like apache64. Unzip the contents of the Apache zip package you previously downloaded to folder: C:/apache64.
Edit Apache configuration file C:/apache64/conf/httpd.conf and change paths to match your system.

ServerRoot?"C:/apache64"
ServerName?localhost:80
DocumentRoot "C:/apache64/htdocs"
<Directory "C:/apache64/htdocs">
DirectoryIndex?index.html index.htm index.php
ScriptAlias?/cgi-bin/ "C:/apache64/cgi-bin/"

If you want to set up virtual hosts uncomment (remove the "#" symbol) the line bellow and edit the hosts.conf file respectively.?Setting up