search
HomeOperation and MaintenancephpstudyHow to create a local site using the domain name management menu in phpstudy

This article mainly introduces how to use phpstudy to add a local domain name site under Windows (Create a local site through the site domain name management menu).

phpStudy is a program integration package for PHP debugging environment. It is a PHP development environment integration package that is popular among PHP learners.

You can download the required phpstudy version through the following link:

phpstudy2016 stable version download: http://www.php.cn/xiazai/gongju/89

phpStudy 2018 latest version download: http://www.php.cn/xiazai/gongju/845

Let’s continue to combine In the form of pictures and texts, I will introduce phpstudy's method of configuring a local site.

After downloading and installing phpstudy first, open the other options menu in phpstudy and find Site Domain Name Management.

How to create a local site using the domain name management menu in phpstudy

Then in site domain name setting, fill in your website domain name (here we set www .wxb.cn), website directory, and second domain name (here we set wxb.cn) and port (generally set to port 80) .

How to create a local site using the domain name management menu in phpstudy

Website directory path must be the site root directory you set. The site directory path we set here is D:\phpStudy\WWW\wxb

How to create a local site using the domain name management menu in phpstudy

After filling in the site, click Add and save.

How to create a local site using the domain name management menu in phpstudy

Then click to restart the phpstudy environment.

How to create a local site using the domain name management menu in phpstudy

Then open the hosts file and bind the site domain name.

How to create a local site using the domain name management menu in phpstudy

#After binding the site domain name, click Save and restart the phpstudy environment.

How to create a local site using the domain name management menu in phpstudy

#Finally, we can test whether the site domain name is set by accessing the index file under the site.

How to create a local site using the domain name management menu in phpstudy

How to create a local site using the domain name management menu in phpstudy

If as shown in the picture, it means we have successfully added local sitewww.wxb. cn.

This article is about how to use phpstudy to create a local site under Windows. It is very simple and easy to understand. I hope it will be helpful to friends in need!

The above is the detailed content of How to create a local site using the domain name management menu 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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Tools

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool