search
HomeOperation and Maintenancephpstudyphpstudy v8 quick start tutorial

phpstudy v8 quick start tutorial

Apr 27, 2020 pm 03:48 PM
phpstudy

PHPStudy V8 is a brand new version. Compared with the previous version, it has changed a lot. Some novices don’t know how to use it. Therefore, this article teaches you how to quickly get started with PHPStudy V8, how to start the PHPStudy service (WNMP/WAMP), build a website and set a domain name, and what to pay attention to.

Step one: Start PHPStudy

First open PHPstudy, click StartWAMP or WNMP

phpstudy v8 quick start tutorial

##Or manually start

Apache and Mysql separately (As shown below)

Note: This example is the Apache MySQL suite environment, you can also choose the Nginx MySQL suite environment

phpstudy v8 quick start tutorial

Started successfully Afterwards, the

Apache and MySQL status icons will turn into blue triangles, as shown in the figure

phpstudy v8 quick start tutorial

##Second Step: Create a website

#First click [Website] on the sidebar, and then click [

Create Website] on the page to create the website. Fill in the domain name (for example: www.test.com). The root directory is your project directory and can be changed by yourself. Default synchronization

hosts

, the system will automatically write the domain name into the hosts file, eliminating the need to add it manually. After filling in, click Confirm.

Note: The PHP version can be selected according to your needs, and other defaults are used.

phpstudy v8 quick start tutorial


Step 4: Test the websiteOpen PHPStudy and switch to the website management page, then find [Open Website] and click to open

phpstudy v8 quick start tutorialIf you see an interface like the one below, it means the website was added successfully!

phpstudy v8 quick start tutorial

Step 5: Test the programFirst find [Website Home Page Settings] and click to open it.

phpstudy v8 quick start tutorialCheck whether there is index.php on the homepage of the site, if not, change it to index.php

phpstudy v8 quick start tutorialIn the website management Find [Open Root Directory] on the page and click

phpstudy v8 quick start tutorial to enter the website directory, and then copy your website program into it

The following is the program I simply wrote

<?php
phpinfo();

Then write the above code into index.php in the root directory of the website

Then enter your website domain name in the browser. If you see the following page, the test is successful!

The above is the detailed content of phpstudy v8 quick start tutorial. 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

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

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.

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool