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

WBOY
Release: 2016-07-13 10:10:12
Original
861 people have browsed it

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"

DirectoryIndex index.html index. php

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>
Copy after login

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...
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 Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template