check the session path configured in app/etc/env.php
'session' => [
'save' => 'files',
'save_path' => '/var/php/session/',
],
and make sure save_path has proper permission and ownership
check the session path configured in app/etc/env.php
'session' => [
'save' => 'files',
'save_path' => '/var/php/session/',
],
and make sure save_path has proper permission and ownership
Run the following queries
CREATE USER 'phpcode'@'localhost' IDENTIFIED BY '#####';
GRANT ALL PRIVILEGES ON * . * TO 'pramod'@'localhost';
Make sure you have the following line added in ngin configuration
upstream fastcgi_backend { server unix:/var/run/php/php7.0-fpm.sock; }
Or
upstream fastcgi_backend {
server 127.0.0.1:9000;
}