Please use this line after login using root: chown root:nginx /var/lib/php/session # chown root:nginx /var/lib/php/session Regards Md Ruhul Amin