中文修改版:
1、环境准备
宝塔面板
PHP 7.4
MySQL 5.7 / 8 - MariaDB 10
Apache HTTP Web Server / Nginx
2、下载
下载程序到自己的网站根目录,直接解压,把文件都移动至网站根目录
4、伪静态
不过安装之前需要先设置伪静态,代码如下:
location ~ /(app|content|lib|importer)/.*\.(po|php|lock|sql|txt)$ {
deny all;
}
# Enable CORS header (needed for CDN)
location ~* \.(ttf|ttc|otf|eot|woff|woff2|css|js)$ {
add_header Access-Control-Allow-Origin "*";
}
# Force serve upload path as static content (match your upload
folder if needed)
location /images {}
# Route dynamic request to index.php
location / {
try_files $uri $uri/ /index.php$is_args$query_string;
}
5、安装
浏览器打开你的域名访问,开始安装
官方原版:
1.官网下载源码,下载安装程序
2.把安装把源码解压到网站根目录,把安装程序放进网站根目录
3.配置伪静态规则
location ~ /(app|content|lib|importer)/.*\.(po|php|lock|sql|txt)$ {
deny all;
}
# Enable CORS header (needed for CDN)
location ~* \.(ttf|ttc|otf|eot|woff|woff2|css|js)$ {
add_header Access-Control-Allow-Origin "*";
}
# Force serve upload path as static content (match your upload
folder if needed)
location /images {}
# Route dynamic request to index.php
location / {
try_files $uri $uri/ /index.php$is_args$query_string;
}
4.访问域名进行安装
Chevereto图床上传大图片提示Internal Server error
设置php参数
max_execution_time
max_input_time
memory_limit
post_max_size
upload_max_filesize
把这些值改大一点,重启PHP
ownload/file/installer