I have moved my Magento code base to another folder and I have upgraded the php version to php7. Now I am facing the following error.
SessionHandler::read(): Session data file is not created by your uid Warning: SessionHandler::write(): Session data file is not created by your uid in /var/www/html/vendor/magento/framework/Session/SaveHandler.php on line 105
Warning: Unknown: Failed to write session data (user). Please verify that the current setting of session.save_path is correct (/var/www/html/var/session/) in Unknown on line 0
Help me to fix this