This topic describes how to use the Windows Baota Panel to quickly install the IIS Web server, PHP environment, and MySQL database on a Windows instance.
What is the Windows Baota Panel?
The Windows Baota Panel is server management software designed to improve O&M efficiency. It supports one-click installation of more than 100 server management features on Windows Server systems, including WNMP, WAMP, IIS, SQL Server, cluster management, monitoring tools, website management, FTP services, database management, Java environments, and PM2.
Prerequisite
Procedure
Step 1: Deploy a web environment
- Log in to the Baota Panel by using a browser on any PC that can access the Internet.
- In the directory tree on the left, select "Software Store".
- Search for and install PHP (version 7.x or later is recommended). In this practice, PHP 7.4 is installed.
- Search for and install IIS (version 8.5 or later is recommended). In this practice, IIS 10.0 is installed.
- Search for and install MySQL (version 5.7 or 8.0 is recommended). In this practice, MySQL 8.0 is installed.
Step 2: Verify the web environment
- Log in to the Baota Panel by using a browser on any PC that can access the Internet.
- In the directory tree on the left side of the panel, select "Website".
- Change the PHP version used by the website.
- Click "Pure static" in the "PHP" column of the target website.
tip
In the example provided in this topic, the default website 127.0.0.1 created in the Baota Panel is used.
- In the pop-up window, select the required PHP version, and click the "Switch" button to complete the operation.
tip
In the example provided in this topic, PHP 7.4 is used.
- Click "c:/wwwroot/127.0.0.1" in the "Root Directory" column of the target website.
tip
In the example provided in this topic, the default website 127.0.0.1 created in the Baota Panel is used.
- Click "New > New blank document".
- Rename the new file to test.php, and then double-click the file name to enter edit mode.
- Copy the following content into the test.php file, click the "Save" button, and close the text editor window.
- Visit the following link in your browser.
http://localhost/test.php
- The following figure shows the sample output of successful installation and configuration.
-