Update aapanel安装指南.md
Some checks are pending
Docker Build and Publish / build (push) Waiting to run

This commit is contained in:
Xboard 2025-01-07 06:00:14 -05:00 committed by GitHub
parent 58ba652943
commit 9d27e447d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -92,21 +92,14 @@ location ~ .*\.(js|css)?$
- 脚本内容:`php /www/wwwroot/站点目录/artisan schedule:run`
### 4. 开启 Octane可选
1. 配置 PHP
```bash
cp /www/server/php/81/etc/php.ini cli-php.ini
sed -i 's/^disable_functions[[:space:]]*=[[:space:]]*.*/disable_functions=header,header_remove,headers_sent,http_response_code,setcookie,session_create_id,session_id,session_name,session_save_path,session_status,session_start,session_write_close,session_regenerate_id,set_time_limit/g' cli-php.ini
```
2. 添加 Octane 守护进程:
1. 添加 Octane 守护进程:
- 名称Octane
- 运行用户www
- 运行目录:站点目录
- 启动命令:`/www/server/php/81/bin/php artisan octane:start --port 7010`
- 进程数1
3. 更新伪静态规则:
2. 更新伪静态规则:
```nginx
location ~* \.(jpg|jpeg|png|gif|js|css|svg|woff2|woff|ttf|eot|wasm|json|ico)$ {
}