Home > php教程 > php手册 > body text

window7 下 安装 apache24(httpd-2.4.10-x86-r2)加 php5.6(php-5.6.4-Win32-VC11-x86)加yaf(php_yaf-2.3.3-5.6-ts-vc11-x86)整合,apache24

WBOY
Release: 2016-06-13 09:17:04
Original
809 people have browsed it

window7 下 安装 apache24(httpd-2.4.10-x86-r2)加 php5.6(php-5.6.4-Win32-VC11-x86)加yaf(php_yaf-2.3.3-5.6-ts-vc11-x86)整合,apache24

window7 下 安装 apache24(httpd-2.4.10-x86-r2)加 php5.6(php-5.6.4-Win32-VC11-x86)加yaf(php_yaf-2.3.3-5.6-ts-vc11-x86)整合

 

下载httpd-2.4.10-x86-r2.zip| php-5.6.4-Win32-VC11-x86.zip |php_yaf-2.3.3-5.6-ts-vc11-x86.zip
下载地址:
httpd-2.4.10-x86-r2.zip http://pan.baidu.com/s/1ntDmIoD
php-5.6.4-Win32-VC11-x86.zip http://pan.baidu.com/s/1sj4XbR3
php_yaf-2.3.3-5.6-ts-vc11-x86.zip http://pan.baidu.com/s/1qW7GT9i
解压httpd-2.4.10-x86-r2.zip 到d:/apache24
解压php-5.6.4-Win32-VC11-x86.zip 到d:/php56
解压php_yaf-2.3.3-5.6-ts-vc11-x86.zip 拷贝 php_yaf.dll 到d:/php56/ext
打开d:/apache24/conf/httpd.conf
修改 38行 Define SRVROOT ...修改为 Define SRVROOT "D:/Apache24"
最后添加
# php5 support
LoadModule php5_module "D:/php56/php5apache2_4.dll"
AddHandler application/x-httpd-php .php
# configure the path to php.ini
PHPIniDir "D:/php56/"

打开 d:/php56/php.ini-development
查找 extension_dir = "ext"
在这行下面添加 extension_dir = "D:/php56/ext"

查找
extension=php_mysql.dll
extension=php_mysqli.dll
extension=php_mbstring.dll
前面 “;”(分号)去掉
在后面添加
extension=php_yaf.dll

另存php.ini-development 为 php.ini

Apache24 的操作
安装
以管理员身份打开 cmd.exe
到 D:\Apache24\bin
安装 : httpd -k install
启动 :httpd -k start
停止 :httpd -k stop
重启 :httpd -k restart
卸载 :httpd -k uninstall

 

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!