php+mysql+apache(win7+64位)配备

php+mysql+apache(win7+64位)配置

? 一波三折的安装过程,

由于我的系统是Win7 (64位)系统,安装过程中遇到了各种问题,先记录一下。

安装Apache

1、64位的Apache不同于32位打包成exe文件可直接安装,先把httpd-2.2.19-win64解压到E:/server/ apache- httpd-2.2.19-win64/(/*E为具体服务器文件所在盘盘符*/)

2、以管理员身份运行 命令提示符(开始-程序-附件),进入E:/server/apache-httpd-2.2.19-win64/bin/ ?

执行 httpd -k install 命令

错误开始来了:

?(1)httpd.exe 计算机丢失MSVCR100.dll? ? (http://lizhiy05.iteye.com/blog/1774751)参考这个解决方案。

?(2)这个问题解决之后,又出现了??

httpd: Could not reliably determine the server’s fully qualified domain name? ?

解决这个问题很简单:找到#ServerName www.example.com:80?? 把#去掉,再重启apache即可没事了。

(3)修改httpd.conf,这里跟32位系统里配置一样

1)、ServerRoot “/httpd-2.2-x64”

改成:ServerRoot “
d:\httpd2215x64

2)、DocumentRoot “/httpd-2.2-x64/htdocs”

改成:DocumentRoot?
<

php+mysql+apache(win7+64位)配备

相关文章:

你感兴趣的文章:

标签云: