docs: 修正aapanel安装指南当中配置php.ini的命令

This commit is contained in:
xboard 2023-11-22 18:52:58 +08:00
parent 1633764419
commit 4c1c024afa

View File

@ -107,7 +107,8 @@ aaPanel 面板 > Cron。
```
cp /www/server/php/81/etc/php.ini cli-php.ini
sed -i '' 's/^disable_functions=.*/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/' 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. 添加守护进程
>下面以aaPanel中supervisor服务来守护队列服务作为演示。