Phpstudy basic tutorial: download, install, start, configure, deploy and uninstall phpstudy


What is phpStudy? PhpStudy is a program integration package for a PHP debugging environment. The package integrates the latest Apache+PHP+MySQL+phpMyAdmin+Zend Optimizer. It can be installed at one time and used without configuration. It is a very convenient and useful PHP debugging environment. The program includes not only the PHP debugging environment, but also the development tools, development manuals and so on. In a word, it only needs one package to learn PHP. For novice PHP learners, environment configuration under WINDOWS is a very difficult task; for veterans, it is also a tedious task. So whether you are a novice or a veteran, the package is a good choice. Well, let’s go over the details of phpstudy‘s basic tutorial.

Software Name:
Phpstudy vc9-vc14 runtime (PHP runtime environment package) free installation version 64 bits
Software size:
Update time:

Software Name:
PhpStudy (one-click installation package for PHP running environment) 2016.11.03 supports the latest official Chinese version of custom PHP version
Software size:
Update time:

Software Name:
PhpStudy 2018 (PHP Running Environment One-Click Installation Package) v1.2.0.715 Official Latest Edition Supports Win10
Software size:
Update time:

Software Name:
PhpStudy 2013 B PHP 5.2 Collection Edition (apache 2.2.25 + PHP 5.2.17)
Software size:
Update time:

Phpstudy Basic Course


1. Search and download phpstudy directly in developpaer

2. Or open the phpstudy official website in the browser and download the installer on the official website. It can also be downloaded directly from Baidu.


1. The downloaded program is a zip compressed package. Among them, phpStudy20161103.exe is the installer, extract it, double-click installation.

2. After the installation program starts, a dialog box will pop up to indicate which directory to install; the default installation directory is D: phpStudy; you can modify it yourself;

3. Click on the confirmation button and the program will start to install.

When the installation is complete, phpstudy’s official website will be opened in the browser.

After installation, two shortcuts will be generated on the desktop, phpStudy startup program and usage manual.

Open the installation directory D: phpResearch in Resource Manager and you can see the installed files.

WWW is the default site root directory.

PhpStudy.exe is the startup program.

Manual. CHM is the official manual.


1. When the installation is completed, phpResearch will be started automatically, and a dialog box will pop up, prompting us to initialize, and click Yes.

2. Then, the main interface of phpStudy will pop up.

The program automatically starts Apache and MySQL services.

When you see the red dots behind Apache and MySQL text turn green, it means that the service started successfully.

If Apache service fails to start, you may have installed other WEB server programs (such as IIS) on your computer, and the default port 80 is occupied.

3. Then, click the “Other Options Menu” button in the lower right corner and select “My Home Page” to open the default homepage in the browser.

The default home page of the website shows the PHP probe, which shows the details of the PHP module supported on the server.

This page corresponds to the D: phpStudy WWW L. PHP file.

Modify the default home page

1. Open the default website root directory D: phpStudy WWW;

Right-click, new, text document, double-click open;

File Content Input


Echo: “Hello! “;

Documents, save as;

Enter the file name index. PHP in the pop-up dialog box and select “All Files” for the file type.

Click Save.

2. In the main interface of PHP Study, click on the “other options menu” button in the lower right corner and select “My Home Page”, you can see that the browser opened shows the contents of the newly created index.php file “Hello”. Next, you can modify the contents of the index.php file and write PHP code to learn php. Language.

Multi-domain name and multi-site configuration

1. In the main interface of phpStudy, click “MySQL Manager” and select “Site Domain Name Management”.

2. In the pop-up dialog box

1. Enter the domain name you want to use, such as:

2. Select a website directory, such as: D: phpStudy WWW a

3. Leave “Second Domain Name” and “Website Port” blank

4. Click “Save Settings and Generate Configuration Files”

5. Pop-up prompt “saved successfully, program restart takes effect”, click OK

6. Apache service will automatically restart

3. In the main interface of phpStudy, click on “Other Options Menu”

Select “Open hosts”

In the open TXT document, enter the last line

Save and close.

4. According to the “Select Website Catalogue” settings in Step 2, under folder a of D: phpStudy WWW New folder, create a new index.php file and enter <? Php? Echo “This is the home page of website”;

5. In the main interface of phpStudy, click the “Restart” button

Open the browser, enter, return

As you can see, the contents of index. PHP file in folder a are displayed in the browser.

Repeat the steps above to create more domain names and sites.

Website Deployment

1. Copy all files in uploads directory to D: phpStudy WWW a

2. Open the browser and enter

You can see the website installation interface

Select “I have read and agreed to this agreement” and click to proceed with the installation.

When you need to enter a database password, enter root

Click Continue to Install

3. After installation, you can see the prompt information.

You can choose to visit the homepage of the website or manage the homepage in the background.


1. Open the task manager and finish the following three tasks 1, MySql.exe2, httpd.exe3, httpd.exe

2. Delete directory D: phpStudy and uninstall successfully! Note that before uninstalling, backup the useful website files under the WWW directory.

At the end of the article, the basic course of phpstudy: phpstudy download, installation, start-up, configuration, website deployment, uninstallation and other related content, the editor will introduce you here, I hope you like it!

Relevant recommendations:

PHPstudy Modify Upload File Limit Size Limit Method

MYSQL Establishes Independent Database and User Detailed Tutorial for Independent Database (PHPstudy MySQL-Front)

Php Study2016 User Tutorial for PHP Local Environment