Preface
As a very excellent server management tool, Pagoda Panel is easy to operate, has complete functions, and supports multiple operating systems, so it is deeply loved by the majority of server administrators. Today, let’s talk about how to use Pagoda to deploy PHP projects.
Step One: Install the Pagoda Panel
First, we need to install the Pagoda Panel. There are many ways to install the Pagoda panel. You can choose to use the automatic installation script provided by the Pagoda official website, or you can complete it through manual installation. Here we use the automatic installation script provided by the Pagoda official website.
- Open the Pagoda official website https://www.bt.cn/
- Click the "Download" button at the head of the website, select the corresponding system version to download the installation package
- Execute the installation command: sh install.sh
After the installation is completed, we can access the Pagoda panel by using the browser to access the IP address of the machine plus port 8888.
Step 2: Create a PHP environment
After logging in to the Pagoda panel, we need to create a PHP environment first. The specific steps are as follows:
- Click the "Website" menu on the left to enter the website list
- Click "Add Site"
- Fill in the site-related information, such as site name , website domain name, website root directory, etc.
- After the website is successfully created, click "Settings" and enter the site settings menu
- Click "PHP Version" and select the PHP version you want to use
At this point, we have successfully created a PHP environment.
Step 3: Upload PHP project
After the PHP environment is created, we need to upload the PHP project to the Pagoda panel. The specific steps are as follows:
- Click the "File" menu on the left to enter the file manager
- Enter the root directory of the website you just created
- Click "Upload" to Upload the compressed package of the PHP project to the server
- Decompress the uploaded PHP project
At this point, we have successfully uploaded the PHP project to the Pagoda panel.
Step 4: Configure the PHP project
For the PHP project, you need to perform some configurations on the Pagoda panel, such as modifying the database configuration, modifying domain name resolution, etc. The specific steps are as follows:
- Click the "Website" menu on the left to enter the website list
- Click on the website to be modified and enter the website settings
- Configure the database and set the database Fill in the relevant information correctly
- Configure domain name resolution and resolve the domain name to the current server IP
At this point, we have completed all PHP project configurations.
Summary
Through the above four steps, we can easily use the Pagoda panel to deploy PHP projects. The operation of the Pagoda Panel is simple and easy to use. Whether you are a beginner who is new to server management or a technician with some experience, you can easily get started and quickly complete project deployment.
The above is the detailed content of How to deploy PHP projects using Pagoda. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

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

Hot Article

Hot Tools

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

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.

SublimeText3 Mac version
God-level code editing software (SublimeText3)

SublimeText3 Linux new version
SublimeText3 Linux latest version

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft
