You need to enable JavaScript to run this app.
Elastic Compute Service

Elastic Compute Service

Copy page
Download PDF
Building a Web environment (Windows)
Setting up a web environment by using Baota Panel
Copy page
Download PDF
Setting up a web environment by using Baota Panel
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​
The Baota Panel is deployed on your instance.​
Procedure​
Step 1: Deploy a web environment​
  1. Log in to the Baota Panel by using a browser on any PC that can access the Internet.​
  1. In the directory tree on the left, select "Software Store".​
  1. Search for and install PHP (version 7.x or later is recommended). In this practice, PHP 7.4 is installed.​
  1. Search for and install IIS (version 8.5 or later is recommended). In this practice, IIS 10.0 is installed.​
  1. 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​
  1. Log in to the Baota Panel by using a browser on any PC that can access the Internet.​
  1. In the directory tree on the left side of the panel, select "Website".​
  1. Change the PHP version used by the website.​
  1. 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.​
  1. 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.​
  1. Create a test page.​
  1. 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.​
  1. Click "New > New blank document".​
  1. Rename the new file to test.php, and then double-click the file name to enter edit mode.​
  1. Copy the following content into the test.php file, click the "Save" button, and close the text editor window.​
  • ​
    <?php​
    phpinfo();​
    ?>​
    ​
  1. Log in to the Windows instance where the IIS Web server is installed. For more information, see Logging in to Windows instances.​
  1. Visit the following link in your browser.​
  • ​
    http://localhost/test.php​
    ​
  • The following figure shows the sample output of successful installation and configuration.​
  • ​​​
Last updated: 2025.10.28 11:10:00