phpStudy is a program integration package for PHP debugging environment. The default root directory is under the folder of the installation directory. Sometimes there is a need: the installation files and program files are on different drive letters. In this case, the root directory needs to be modified. So how to modify the root directory? The following article will introduce it to you, I hope it will be helpful to you.
phpstudy Steps to modify the root directory:
1. phpStudy panel->Other options menu ->phpStudy settings->Port general settings
2. Enter the path to the website directory and click Apply
3. Click OK to restart Aapche
#. Now you can enter localhost in the browser box to open your directory.
Recommended related PHP video tutorials: "PHP Video Tutorial"
The above is the detailed content of How to modify the root directory in phpstudy. For more information, please follow other related articles on the PHP Chinese website!