HomeSoftware Tutorial[Recording and Download: Website Deployment] Deploying a website using BT Panel or PhpStudy
[Recording and Download: Website Deployment] Deploying a website using BT Panel or PhpStudy

Deployment environment:pagodanginx or apachePHP7.4
Deployment requirements: Deploy to the root directory (not to subdirectories).

run locally

Little Flying Rabbit Built-in software HTTP service This is a temporary service; the service will stop when the software is shut down.

  • Enter the folder address where the website is located, and then click Create HTTP Service.

pagoda

Install pagoda

Add site

Note: PHP must be selected; it is recommended. PHP7.4 Version

Configure pseudo-static URLs

  • nginx
  • apache

Find it in the website's root directory. nginx.htaccess Open the file with Notepad, copy all the contents of the file, and paste it into the pseudo-static text box.

Find it in the website's root directory. .htaccess Open the file with Notepad, copy all the contents of the file, and paste it into the pseudo-static text box.

PhpStudy

Install PhpStudy

Start Apache

Create a website

  • set up domain nameroot directoryCheck PHPand filling in pseudo-static (In the website directory).

Note: Due to a bug in the PhpStudy software, the software will clear the contents of the .htaccess file in the root directory when creating a website. Therefore, you must fill in the URL rewriting rules when creating a website.

Open the website

  • In the website list, click "Manage" -> "Open Website"

Precautions

PHP version issue

  • PHP 8.x versions require configuration files. php.ini To enable the output buffer, the code is:output_buffering = on

Linux case sensitivity issue

  • It is recommended to use a Windows system as the server because Linux system server URLs are case-sensitive.

NP-Tap problem

The URL rewriting address for the BT panel nginx server includes... .php file extension issues

For example:location ~ ^/index\.php/api/User$ { rewrite ^ "../../404.html" last; }The code contains ../../404.html The folder rewriting function failed; you need to modify the configuration file.

Software Applications: Front-end template download; development and design; SEO optimization; offline web browsing. Note: This software is not a hacking program and cannot download backend data!
Disclaimer: This service is for personal study, research, or enjoyment purposes only, and is for non-commercial, non-profit use. Users must comply with copyright laws and related regulations and must not infringe upon the legitimate rights and interests of this website and related rights holders. Any risks arising from the use of this tool are the sole responsibility of the user and are not the responsibility of the software itself.
Copyright © 2019-2026 Xiaofeitu Software. All Rights Reserved. Guangdong ICP Registration No. 19111427-2
Tutorial User Manual Website Special