Home  >  Article  >  Backend Development  >  Under window7, install apache24 (httpd-2.4.10-x86-r2) plus php5.6 (php-5.6.4-Win32-VC11-x86) plus yaf (php_yaf-2.3.3-5.6-ts-vc11-x86) integration

Under window7, install apache24 (httpd-2.4.10-x86-r2) plus php5.6 (php-5.6.4-Win32-VC11-x86) plus yaf (php_yaf-2.3.3-5.6-ts-vc11-x86) integration

WBOY
WBOYOriginal
2016-08-08 09:31:121002browse

Install apache24 (httpd-2.4.10-x86-r2) plus php5.6 (php-5.6.4-Win32-VC11-x86) plus yaf (php_yaf-2.3.3-5.6-ts-vc11-x86) under window 7 Integrate

Download 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
Download address:
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
Unzip httpd-2.4.10-x86-r2.zip to d:/apache24
Unzip php- 5.6.4-Win32-VC11-x86.zip to d:/php56
Unzip php_yaf-2.3.3-5.6-ts-vc11-x86.zip Copy php_yaf.dll to d:/php56/ext
Open d:/apache24 /conf/httpd.conf
Modify line 38 Define SRVROOT...Modify to Define SRVROOT "D:/Apache24"
Finally add
# 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/"

Open d:/php56/php.ini-development
Look for extension_dir = "ext"
Add extension_dir = "D:/php56/ext"

below this line

Find
extension=php_mysql.dll
extension=php_mysqli.dll
extension=php_mbstring.dll
Remove the ";" (semicolon) in front
Add
extension=php_yaf.dll

Save php.ini-development as php.ini

Apache24 operation
Installation
Open cmd.exe as administrator
Go to D:Apache24bin
Installation: httpd -k install
Start: httpd -k start
Stop: httpd -k stop
Restart: httpd -k restart
Uninstall :httpd -k uninstall

The above introduces the installation of apache24 (httpd-2.4.10-x86-r2) plus php5.6 (php-5.6.4-Win32-VC11-x86) plus yaf (php_yaf-2.3.3-5.6-ts-vc11) under window7 -x86) integration, including aspects of the content, I hope it will be helpful to friends who are interested in PHP tutorials.

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