search
HomeBackend DevelopmentPHP ProblemHow to quickly build php in windows10

How to quickly build php in windows10

Sep 11, 2019 am 11:46 AM
phpwindows10build

How to quickly build php in windows10

How to quickly build php in windows10 system?

apache installation

1. Official website download address: http://httpd.apache.org/download.cgi

2. Download

How to quickly build php in windows10

How to quickly build php in windows10

##3. Unzip the downloaded file

How to quickly build php in windows10

4. Open the httpd.conf file under Apache24\conf, modify the following key locations, and use Notes Just open this or EditPlus.

How to quickly build php in windows10

Modify the default SRVROOT value to the Apache installation location

5. Start Apache

1) Enter "cmd" in the chat box of "Win R" to start the "Command Prompt Window".

2) Enter "d:" and press Enter, enter "cd /php/httpd-2.4.34-o102o-x64-vc14/Apache24/bin" and press Enter and enter "httpd ”, if there is no prompt, it means the startup is successful.

3) Open the browser and enter "http://localhost/" to test. The following figure shows that the configuration is successful.

How to quickly build php in windows10

How to quickly build php in windows10

##PHP installation

1. Official website download address:

https://windows.php.net/download

2. Download

How to quickly build php in windows10

3. Unzip and configure

1) Unzip the downloaded file to the location where you want to install it.

2) Copy php.ini-development and rename it to php.ini. Then configure

Change the directory address similar to the picture below (specifically depends on your own installation directory)

How to quickly build php in windows10

Remove the preceding ";"


How to quickly build php in windows10##3) Open Apache24\conf httpd.conf, add

How to quickly build php in windows10 at the end. Test:

in the Apache directory Create a new Index.php file in the htdocs folder and fill in the following code:

<?php
    phpinfo();
?>

After saving, enter in the browser:

http://localhost/index.php

If the following page appears, it proves that PHP installation is successful.

Finish! How to quickly build php in windows10

If you want to learn more related content, please visit the php Chinese website:

PHP video tutorial

The above is the detailed content of How to quickly build php in windows10. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:CSDN. 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 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.

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

EditPlus Chinese cracked version

EditPlus Chinese cracked version

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

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),