FreeBSD PHP-FPM
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
CONTENTS
#contents
----
Lastmodified &lastmod;
----
https://translate.google.co.jp/translate?hl=ja&sl=en&u=ht...
*FreeBSD PHP-FPM [#p61d9f3f]
https://www.cyberciti.biz/faq/freebsd-install-php-7-2-wit...
Edit the file /usr/local/etc/php-fpm.d/www.conf
# vi /usr/local/etc/php-fpm.d/www.conf
Find line:
listen = 127.0.0.1:9000
Update it as follows:
listen = /var/run/php72-fpm.sock
Uncomment the following line:
listen.owner = www
listen.group = www
listen.mode = 0660
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 FreeB...
# 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/l...
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/l...
Stopping php_fpm.
Waiting for PIDS: 38870.
Performing sanity check on php-fpm configuration:
[26-Dec-2019 15:38:51] NOTICE: configuration file /usr/l...
Starting php_fpm.
----
Total access &counter(total);:本日 &counter(today);:昨...
#counter([total|today|yesterday]);
終了行:
CONTENTS
#contents
----
Lastmodified &lastmod;
----
https://translate.google.co.jp/translate?hl=ja&sl=en&u=ht...
*FreeBSD PHP-FPM [#p61d9f3f]
https://www.cyberciti.biz/faq/freebsd-install-php-7-2-wit...
Edit the file /usr/local/etc/php-fpm.d/www.conf
# vi /usr/local/etc/php-fpm.d/www.conf
Find line:
listen = 127.0.0.1:9000
Update it as follows:
listen = /var/run/php72-fpm.sock
Uncomment the following line:
listen.owner = www
listen.group = www
listen.mode = 0660
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 FreeB...
# 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/l...
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/l...
Stopping php_fpm.
Waiting for PIDS: 38870.
Performing sanity check on php-fpm configuration:
[26-Dec-2019 15:38:51] NOTICE: configuration file /usr/l...
Starting php_fpm.
----
Total access &counter(total);:本日 &counter(today);:昨...
#counter([total|today|yesterday]);
ページ名: