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.