Table of Contents
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
Home php教程 php手册 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)整合,apache24

Jun 13, 2016 am 09:17 AM

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

 

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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)