Table of Contents
Windows安装Apache2.4和PHP5.6,apache2.4php5.6
Home php教程 php手册 Windows安装Apache2.4和PHP5.6,apache2.4php5.6

Windows安装Apache2.4和PHP5.6,apache2.4php5.6

Jun 13, 2016 am 09:17 AM
apa php5.6 windows and Install

Windows安装Apache2.4和PHP5.6,apache2.4php5.6


VC11 下载安装
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

下载地址:http://windows.php.net/download/

解压并建立php.ini文件

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

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

下载地址:http://www.apachelounge.com/download/
手册下载:http://mirror.bit.edu.cn/apache/httpd/docs/

解压,示例目录(E:/WAMP)

修改主配置文件:conf/http.conf

ServerRoot "E:/WAMP/Apache"
ServerName desktop
DocumentRoot "E:/WWW"

DirectoryIndex index.html index.php

Include conf/extra/httpd-vhosts.conf

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

修改虚拟主机配置文件: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

 

添加系统服务:httpd.exe -k install -n "Apache24"
卸载系统服务:httpd.exe -k uninstall -n "Apache24"

 

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 Article

Hot Article

Hot Article Tags

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)

Lossless Scaling on Steam Deck OLED runs games at up to 2x FPS Lossless Scaling on Steam Deck OLED runs games at up to 2x FPS Aug 26, 2024 am 10:07 AM

Lossless Scaling on Steam Deck OLED runs games at up to 2x FPS

What should I do if I can't delete a Windows system dll file? Tips for completely deleting stubborn dll files What should I do if I can't delete a Windows system dll file? Tips for completely deleting stubborn dll files Jun 12, 2024 pm 02:46 PM

What should I do if I can't delete a Windows system dll file? Tips for completely deleting stubborn dll files

How to turn off Security Center in Windows 11 How to turn off Security Center in Windows 11 Mar 28, 2024 am 10:21 AM

How to turn off Security Center in Windows 11

deepseek web version entrance deepseek official website entrance deepseek web version entrance deepseek official website entrance Feb 19, 2025 pm 04:54 PM

deepseek web version entrance deepseek official website entrance

How to update the latest version of Bybit Exchange? Will there be any impact if it is not updated? How to update the latest version of Bybit Exchange? Will there be any impact if it is not updated? Feb 21, 2025 pm 10:54 PM

How to update the latest version of Bybit Exchange? Will there be any impact if it is not updated?

How to install deepseek How to install deepseek Feb 19, 2025 pm 05:48 PM

How to install deepseek

Pi Node Teaching: What is a Pi Node? How to install and set up Pi Node? Pi Node Teaching: What is a Pi Node? How to install and set up Pi Node? Mar 05, 2025 pm 05:57 PM

Pi Node Teaching: What is a Pi Node? How to install and set up Pi Node?

Snapdragon X Elite CPU performance nearly identical on battery vs AC power in Vivobook S15 benchmarks Snapdragon X Elite CPU performance nearly identical on battery vs AC power in Vivobook S15 benchmarks Jun 21, 2024 am 06:50 AM

Snapdragon X Elite CPU performance nearly identical on battery vs AC power in Vivobook S15 benchmarks

See all articles