XAMPP (Apache+MySQL+PHP+PERL) is a powerful integrated environment package for building XAMPP software station, which is used by a large number of webmasters. After installing XAMPP correctly, the default is that the php program must be placed in the xampp\htdocs folder to run. How to modify the main directory to another disk? For example, the www folder of the D: drive, here is a demonstration for webmasters who use XAMPP to build a website. The same is true for any PHP environment that uses apache.
Tools/Materials
-
Environment: XAMPP (Apache+MySQL+PHP+PERL)
-
Tool: Open httpd.conf file with txt text or DW