search
HomeBackend DevelopmentPHP7php7 installation guide (windows) apache installation (2)

After downloading, you will get a compressed file (httpd-2.4.18-x64-vc11.zip). Unzip the file and copy it to the installation directory.

The installation directory of this tutorial is d:\phpserver, and the installation directory of apache is d:\phpserver\apache

php7 installation guide (windows) apache installation (2)

Modify the configuration file

Configuration file location: D:\phpserver\apache\conf\httpd.conf

Modify line 38 of the configuration file

Define SRVROOT "/Apache24"

Modify to

Define SRVROOT "D:\phpserver\apache"

Install apche service

Go to the bin directory under apache from the command line and enter

httpd -k install

to install apache as a windows background service.

php7 installation guide (windows) apache installation (2)

Use ApacheMonitor.exe to manage apache

php7 installation guide (windows) apache installation (2)

Open D:\phpserver\apache\bin\ApacheMonitor.exe You can start apacheMonitor to manage apache (it can be a desktop shortcut).

Click to start apache to start apache.

Visit localhost to view the effect.

Related recommendations: "PHP7 Tutorial"

The above is the detailed content of php7 installation guide (windows) apache installation (2). For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:hcoder. If there is any infringement, please contact admin@php.cn delete

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 Article

Hot Tools

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.