From 970d83da0b135e8220d204f1a4f22dc8d3215ada Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C5=82awomir=20Paszkiewicz?= Date: Fri, 2 Oct 2015 14:46:15 +0200 Subject: [PATCH] - create session dir for php-fpm --- doc/Installation/Installation-(RHEL-CentOS).md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/Installation/Installation-(RHEL-CentOS).md b/doc/Installation/Installation-(RHEL-CentOS).md index 70e85799f5..09be1dbaab 100644 --- a/doc/Installation/Installation-(RHEL-CentOS).md +++ b/doc/Installation/Installation-(RHEL-CentOS).md @@ -123,6 +123,7 @@ Install necessary extra software and let it start on system boot. Modify permissions and configuration for `php-fpm` to use nginx credentials. + mkdir /var/lib/php/session chown root:nginx /var/lib/php -R vi /etc/php-fpm.d/www.conf # At line #12: Change `listen` to `/var/run/php5-fpm.sock` # At line #39-41: Change the `user` and `group` to `nginx`