Home > Operation and Maintenance > phpstudy > phpstudy v8 quick start tutorial

phpstudy v8 quick start tutorial

Guanhui
Release: 2020-04-27 18:08:20
Original
10201 people have browsed it

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();
Copy after login

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!

Related labels:
source:PHPStudy V8 快速入门教程
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template