PHP graphic tutorial (Sharing) for server-side environment construction, server-side graphic tutorial

Source: Internet
Author: User

PHP graphic tutorial (Sharing) for server-side environment construction, server-side graphic tutorial

I. PHP server environment setup

1. phpServer Environment Installation kitXampp (apach + mysql + phpInterpreter)

F: \ MyDoc file (important) \ DL _ learning \ download important resources \ apache server components

Install

In this case, the xmapp panel displays that the operation is successful.

Test whether the local Apache server is enabled: Enter127.0.0.1Press enter To Go To The xmapp official website.

4. Modify the default dashboard folder in the browser

Open the index. php file configuration file in the htdocs folder under xmapp and jump to this folder by default.

Solution: delete all the files under htdocs, and no jump will be made automatically.

Now, the server environment configuration is complete, but you want to save the project file to the re-createdWwwHow do I set the folder?

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

Solution:

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

DocumentRoot "C:/www" <Directory "C:/www">

(4) Save and close and restart the xampp control panel.


Test: Create a www. text file in the www folder,

Enter 127.0.0.1 in the browser to display

Successful !!!!

The above text tutorial (Sharing) for setting up the PHP server environment is all the content shared by the editor. I hope you can give us a reference and support for the help house.

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.