/etc/rc.confまたは/etc/rc.conf.localに記述
php_fpm_enable="YES" nginx_enable="YES"
[PHP] ...... date.timezone = Asia/Tokyo output_buffering = 4096 expose_php = off max_execution_time = 3600 ; max_input_time = -1 ; Default -1 using max_execution_time post_max_size = 1G upload_max_filesize = 1G memory_limit = 1G default_socket_timeout = 300 [Phar] mail.add_x_header = On
[global] events.mechanism = kqueue ... include=/usr/local/etc/php-fpm.d/*.conf
[www] user = www group = www listen = /var/run/php-fpm.sock ; Default Value: 511 (-1 on FreeBSD and OpenBSD) ; listen.backlog = 511 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