#author("2019-12-26T15:49:08+09:00","default:kuji","kuji") #author("2019-12-26T16:18:51+09:00","default:kuji","kuji") CONTENTS #contents ---- Lastmodified &lastmod; ---- https://translate.google.co.jp/translate?hl=ja&sl=en&u=https://github.com/nextcloud/server/issues/9243&prev=search *FreeBSD PHP-FPM [#p61d9f3f] https://www.cyberciti.biz/faq/freebsd-install-php-7-2-with-fpm-for-nginx/ Edit the file /usr/local/etc/php-fpm.d/www.conf # vi /usr/local/etc/php-fpm.d/www.conf Find line: Find line: listen = 127.0.0.1:9000 listen = 127.0.0.1:9000 Update it as follows: Update it as follows: listen = /var/run/php72-fpm.sock listen = /var/run/php72-fpm.sock Uncomment the following line: Uncomment the following line: listen.owner = www listen.owner = www listen.group = www listen.mode = 0660 Save and close the file. Enable php-fpm service: Save and close the file. Enable php-fpm service: # sysrc php_fpm_enable=YES /etc/rc.conf php_fpm_enable="YES" Commands to start, stop, restart php-fpm service on FreeBSD server: # service php-fpm stop # service php-fpm stop # service php-fpm start # service php-fpm restart # service php-fpm status root@g7:~:19_12_26:15:37 # service php-fpm start Performing sanity check on php-fpm configuration: [26-Dec-2019 15:38:20] NOTICE: configuration file /usr/local/etc/php-fpm.conf test is successful Starting php_fpm. root@g7:~:19_12_26:15:38 # service php-fpm restart Performing sanity check on php-fpm configuration: [26-Dec-2019 15:38:51] NOTICE: configuration file /usr/local/etc/php-fpm.conf test is successful Stopping php_fpm. Waiting for PIDS: 38870. Performing sanity check on php-fpm configuration: [26-Dec-2019 15:38:51] NOTICE: configuration file /usr/local/etc/php-fpm.conf test is successful Starting php_fpm. ---- Total access &counter(total);:本日 &counter(today);:昨日 &counter(yesterday); #counter([total|today|yesterday]);