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