The clearest tutorial on PHP server Environment setup

Source: Internet
Author: User
Tags php server
PHP environment is also a technology, this article for you to share a PHP server environment set up graphics and text tutorial, has a good reference value, I hope to help you.

First, PHP server environment Building

1.php Server-side Environment Installation Kit XAMPP (apach+mysql+php interpreter)

F:\MyDoc files (important) \dl_ learning \download Important Resources \apache Server components

Installation

The Xmapp panel appears to run successfully

Test whether the local Apache server is on: Enter 127.0.0.1 in the browser to enter Xmapp official website

4. Modify the dashboard folder that appears by default in the browser

Open Xmapp under Htdocs folder index.php file configuration file in the default jump to this folder

Workaround: Delete all files under Htdocs, will not automatically jump

At this point, the server environment configuration is complete, but you want to be able to save the project file to the recreated WWW folder how to set it up

5. Save all files to the F:\www folder

Workaround:

(1) Enter F:\xampp\apache\conf\httpd.conf
(2) Open file
(3) Modify #DocumentRoot "C:/xampp/htdocs" as

DocumentRoot "C:/www" <directory "c:/www" >

(4) Save shutdown, restart XAMPP Control Panel


Test: Create a new Www.text file under the WWW folder,

Input 127.0.0.1 display in browser

Well, according to the above graphic tutorial PHP server environment is set up, we can try it.

Related push:

How to build a simple static file HTTP server

How to use Docker to build a Laravel environment

MySQL implementation of master-slave Database building method detailed

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.