PHP environment construction is also a technology. This article will share with you a graphic tutorial on PHP server environment construction. It has a good reference value and I hope it will be helpful to everyone.
1. PHP server environment construction
1.php server environment installation kit xampp (apach+mysql+php interpreter)
F:\MyDoc file (important )\DL_Learn\download important resources\apache server components
Installation
##At this time, enter the xmapp panel and display successful operation Test whether the local Apache server is open: enter 127.0.0.1 in the browser and press Enter to enter the xmapp official website 4. Modify the default dashboard folder that appears in the browser Open the index.php file under the htdocs folder under xmapp and the configuration file will jump to this folder by default Solution: Delete all files under htdocs and replace It will not jump automatically At this point, the server environment configuration is completed, but I hope to be able to save the project files to the recreated www folder. How to set it up 5. Save all files to Solution to in the F:\www folder: (1) Enter F:\xampp\apache\conf\httpd.conf(2) Open the file
( 3) Modify #DocumentRoot "C:/xampp/htdocs" to
DocumentRoot "C:/www"
How to build a simple static file http server
How to use Docker to build a Laravel environment
Detailed explanation of the method of establishing master-slave database in MySQL
The above is the detailed content of The clearest graphic tutorial on building a PHP server environment. For more information, please follow other related articles on the PHP Chinese website!