search
Homephp教程php手册window7 下 安装 apache24(httpd-2.4.10-x86-r2)加 php5.6(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)整合 下载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.

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
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

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools