Phpstudy is a php integrated development environment that can switch php versions and servers at will. In this article, the editor will learn with you how to configure the virtual domain name of the Phpstudy integrated environment to access Index Of. Friends who are interested can learn together. Bar.
Phpstudy's website root directory defaults to the WWW directory. So if we want to access the Index Of directory through a virtual domain name to facilitate viewing the directory, how do we configure it?
We take Phpstudy 2018 as an example to demonstrate ->
->The following is a screenshot of the directory. We need to reach the following location through the virtual domain name.
##->First start Phpstudy 2018 and stop it
-> Next we click on 'Other menu options'->'Site domain name management'
##->
After entering, we start to set the domain name and directory->Add->Save the settings and Generate configuration file
->
After generation, Phpstudy will restart once and wait for it to restart. Stop it again
->
Now we click on other menu options to enter host
After opening, we configure a virtual domain name with the address of local 127.0.0.1
##->
Let’s open the configuration file
->
# #->
Change the sentence marked AA to->Options Indexes FollowSymLinks ExecCGI
##->Save and exit Restart Phpstudy Use the set domain name to enter
## Okey! Now you can enter Index Of
Related tutorials: PHPstudy video tutorial
The above is the detailed content of Phpstudy2018 environment configuration virtual domain name access to Index Of. For more information, please follow other related articles on the PHP Chinese website!