ユーザ用ツール

サイト用ツール


serverapps:nextcloud:05.phpconfig

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
serverapps:nextcloud:05.phpconfig [2023/08/07 06:09] hayashiserverapps:nextcloud:05.phpconfig [2023/08/26 09:29] (現在) – [/usr/local/etc/php-fpm.conf] hayashi
行 4: 行 4:
 \\ \\
 \\ \\
 +
 +===== rc.conf =====
 +
 +/etc/rc.confまたは/etc/rc.conf.localに記述
 +
 +  php_fpm_enable="YES"
 +  nginx_enable="YES"
 ===== /usr/local/etc/php.ini ===== ===== /usr/local/etc/php.ini =====
  
行 39: 行 46:
 <file conf www.conf> <file conf www.conf>
 [www] [www]
-user = www +user              = www 
-group = www +group             = www 
-listen = /var/run/php-fpm.sock +listen            = /var/run/php-fpm.sock 
-listen.owner = www +; Default Value: 511 (-1 on FreeBSD and OpenBSD) 
-listen.group = www +; listen.backlog  = 511 
-listen.mode = 0666+listen.owner      = www 
 +listen.group      = www 
 +listen.mode       = 0660 
 + 
 +pm                   = dynamic 
 +pm.max_children      = 4 
 +pm.start_servers     = 1 
 +pm.min_spare_servers = 1 
 +pm.max_spare_servers = 3 
 +pm.max_requests      500
 </file> </file>
 +
 +  * pm.max_children((memory_limitを設定の基準にする。(TotalMem/memory_limit) x 2))
 +  * 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.1691388547.txt.gz · 最終更新: 2023/08/07 06:09 by hayashi