Note: Do not build it on a domestic server, it will block the server, don’t ask me how I know, I will cry if I say too much
System Construction Environment Requirements
PHP version: >= 7.4
MySQL version: >= 5.6
Build and install tutorial
- Upload the source code to the space or server, and ensure that the permissions are readable and writable.
- After the upload is complete, use a browser to visit: domain name/install/index.php, and install according to the steps.
- Set pseudo-static rules: There is an Nginx.txt file in the directory, copy it to the pseudo-static website, otherwise 404 will appear on the callback page after payment, and the pagoda panel can directly add the following settings to the pseudo-static website settings.
Nginx pseudo-static settings:
location / {
if (!-e $request_filename) {
rewrite ^/(.[a-zA-Z0-9\-\_]+).html$ /index.php?mod=$1 last;
}
rewrite ^/pay/(.*)$ /pay.php?s=$1 last;
}
location ^~ /plugins {
deny all;
}
location ^~ /includes {
deny all;
}
System display
System display
front page:
Management background:
Payment channel:
Payment test:
@Disclaimer Notice
The resource comes from the Internet, it is only used for learning, and the infringement must be deleted