PHP-FPM
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
[[CentOS7]]
*Nginx : PHP-FPM [#r3fe16e7]
PHP-FPM ( PHP FastCGI Process Manager ) をインストールし...
**PHP および PHP-FPM をインストールします。 [#wed72834]
|BGCOLOR(black):COLOR(white):|c
|[root@localhost ~]# yum -y install php php-mbstring php-...
**PHP-FPM と Nginx の設定です。 [#pd744682]
|BGCOLOR(black):COLOR(white):|c
|[root@localhost ~]# vi /etc/php-fpm.d/www.conf|
|&color(lightpink){# 39行目:変更}; &br; &br; user = ngi...
|[root@localhost ~]# systemctl start php-fpm|
|[root@localhost ~]# systemctl enable php-fpm|
|[root@localhost ~]# vi /etc/nginx/nginx.conf|
|&color(lightpink){# server セクション内に追記}; &br; &b...
|[root@localhost ~]# systemctl restart nginx|
PHPInfo を作成して PHP の動作確認をしてください。以下のよ...
|BGCOLOR(black):COLOR(white):|c
|[root@localhost ~]# echo "<?php phpinfo() ?>" > /usr/sha...
&ref(01.png);
終了行:
[[CentOS7]]
*Nginx : PHP-FPM [#r3fe16e7]
PHP-FPM ( PHP FastCGI Process Manager ) をインストールし...
**PHP および PHP-FPM をインストールします。 [#wed72834]
|BGCOLOR(black):COLOR(white):|c
|[root@localhost ~]# yum -y install php php-mbstring php-...
**PHP-FPM と Nginx の設定です。 [#pd744682]
|BGCOLOR(black):COLOR(white):|c
|[root@localhost ~]# vi /etc/php-fpm.d/www.conf|
|&color(lightpink){# 39行目:変更}; &br; &br; user = ngi...
|[root@localhost ~]# systemctl start php-fpm|
|[root@localhost ~]# systemctl enable php-fpm|
|[root@localhost ~]# vi /etc/nginx/nginx.conf|
|&color(lightpink){# server セクション内に追記}; &br; &b...
|[root@localhost ~]# systemctl restart nginx|
PHPInfo を作成して PHP の動作確認をしてください。以下のよ...
|BGCOLOR(black):COLOR(white):|c
|[root@localhost ~]# echo "<?php phpinfo() ?>" > /usr/sha...
&ref(01.png);
ページ名: