
The test environment configuration is as follows:
Operating system: Linux system, the specific version is CentOS 7.6
Control Panel: Pagoda Panel
PHP version: PHP 7.3
Database: MySQL 5.6
Site root directory: public folder
Framework pseudo-static settings: pseudo-static rules based on the Laravel 5 framework
SSL Certificates: SSL Certificates are enabled to ensure secure access to websites over HTTPS
Language support: Support both Chinese simplified and English languages
About database configuration:
You need to make changes in the.env file in the root directory of the website. What needs to be modified are lines 21, 22, and 23. These lines are usually related to database connection information, including the database's host name, port, database name, user name, and password. Please make corresponding modifications based on your actual database configuration information.
Front-end page settings:
By default, the Web server looks for accessible files in a certain order. In order to use index.html as the default document, you need to set it as the preferred file and put index.php after it. This way, when visiting a website, the server will first attempt to load the index.html file. If you want to access index.html directly through the backend domain name, you can directly enter the corresponding URL in your browser to access it.
In order to facilitate everyone's construction and configuration, I have described each step in detail as much as possible. If you encounter any problems during the construction process, feel free to ask me questions.
The front-end test account information is as follows:
Account number: 88888888
Password: 123456
Regarding settlement tasks:
In the root directory of the website, you need to execute the following command to complete the settlement task:
php artisan upgrade
This command will trigger the upgrade process of the Laravel framework. The specific upgrade content may include updating dependent libraries, performing migration, etc. Make sure you have backed up important data before executing the command and have sufficient permissions to perform the operation.
Comments0