Home>Article>Operation and Maintenance> What to do if 403 appears in phpstudy

What to do if 403 appears in phpstudy

藏色散人
藏色散人 Original
2019-11-09 09:51:26 7814browse

What to do if 403 appears in phpstudy

phpstudy appears 403?

I was using phpStudy just fine a few days ago, but today it suddenly stopped working. Below is a screenshot of the error. After asking the teacher, the solution is as follows

Recommended: "phpstudy Usage tutorial

What to do if 403 appears in phpstudy

The first step is to add a domain name site

What to do if 403 appears in phpstudy

In adding the site domain name Always pay attention to the website domain name. If you are like me, you will jump to the website directory when you visit Baidu. Use with caution

What to do if 403 appears in phpstudy

The second step Open the vhosts.conf file to check whether the addition is successful. In the vhosts.conf file of Apache

What to do if 403 appears in phpstudy

the third part goes to the hosts file to configure domain name resolution

What to do if 403 appears in phpstudy

The fourth step is completed. At this point, when you access the newly added site locally, it will jump to your web page directory

The above is the detailed content of What to do if 403 appears in phpstudy. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn