Home >Backend Development >PHP Tutorial >Windows installation Apache2.4 and PHP5.6, apache2.4php5.6_PHP tutorial

Windows installation Apache2.4 and PHP5.6, apache2.4php5.6_PHP tutorial

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-07-13 10:10:12895browse

Windows installation Apache2.4 and PHP5.6, apache2.4php5.6


VC11 download and installation
http://www.microsoft.com/en -us/download/details.aspx?id=30679

==================

PHP(5.6) VC11 x86 Thread Safe
php-5.6.4-Win32-VC11-x86.zip

Download address: http://windows.php.net/download/

Extract and create the php.ini file

==================

Apache(2.4)
httpd-2.4.10-win32-VC11.zip

Download address: http://www.apachelounge.com/download/
Manual download: http://mirror.bit.edu.cn/apache/httpd/docs/

Unzip, sample directory (E:/WAMP)

Modify the main configuration file: conf/http.conf

ServerRoot "E:/WAMP/Apache"
ServerName desktop
DocumentRoot "E:/WWW"
f4e4be48c9b7b7ddf2484406791388d1
DirectoryIndex index.html index. php
022d9bc5372ba983ef6dafe61f97f559
Include conf/extra/httpd-vhosts.conf

#Associate PHP
LoadModule php5_module E:/WAMP/PHP/php5apache2_4.dll
AddType application/x-httpd-php .php
PHPIniDir "E:/WAMP/ PHP"

Modify the virtual host configuration file: conf/extra/httpd-vhosts.conf

<VirtualHost *:80>
  ServerName desktop
  DocumentRoot "C:/Users/Administrator/Desktop"
  <Directory "C:/Users/Administrator/Desktop">
    Options Indexes FollowSymLinks
    AllowOverride FileInfo
  </Directory>
</VirtualHost>

Add system service: httpd.exe -k install -n "Apache24"
Uninstall system service: httpd.exe -k uninstall -n "Apache24"

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/938094.htmlTechArticleWindows installation Apache2.4 and PHP5.6, apache2.4php5.6 VC11 download and install http://www. microsoft.com/en-us/download/details.aspx?id=30679 ================= PHP(5.6) VC11 x86 Thread Safe ph...
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