serverapps:nextcloud:05.phpconfig
差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
| serverapps:nextcloud:05.phpconfig [2023/08/07 06:06] – hayashi | serverapps:nextcloud:05.phpconfig [2023/08/26 09:29] (現在) – [/usr/local/etc/php-fpm.conf] hayashi | ||
|---|---|---|---|
| 行 1: | 行 1: | ||
| ====== 05.phpの設定 ====== | ====== 05.phpの設定 ====== | ||
| + | \\ | ||
| + | \\ | ||
| + | \\ | ||
| + | \\ | ||
| + | ===== rc.conf ===== | ||
| + | |||
| + | / | ||
| + | |||
| + | php_fpm_enable=" | ||
| + | nginx_enable=" | ||
| ===== / | ===== / | ||
| 行 31: | 行 41: | ||
| include=/ | include=/ | ||
| </ | </ | ||
| + | |||
| + | ===== / | ||
| + | |||
| + | <file conf www.conf> | ||
| + | [www] | ||
| + | user = www | ||
| + | group = www | ||
| + | listen | ||
| + | ; Default Value: 511 (-1 on FreeBSD and OpenBSD) | ||
| + | ; listen.backlog | ||
| + | listen.owner | ||
| + | listen.group | ||
| + | listen.mode | ||
| + | |||
| + | pm = dynamic | ||
| + | pm.max_children | ||
| + | pm.start_servers | ||
| + | pm.min_spare_servers = 1 | ||
| + | pm.max_spare_servers = 3 | ||
| + | pm.max_requests | ||
| + | </ | ||
| + | |||
| + | * pm.max_children((memory_limitを設定の基準にする。(TotalMem/ | ||
| + | * pm.start_servers((max_children x 0.35)) | ||
| + | * pm.min_spare_servers((= start_server)) | ||
| + | * pm.max_spare_servers((max_children x 0.7)) | ||
serverapps/nextcloud/05.phpconfig.1691388411.txt.gz · 最終更新: by hayashi
