Error switching hosting server - Laravel PHP

Asked

Viewed 147 times

2

When switching hosting server, the application shows the following error.

session_start(): open(/var/lib/php-cgi/Session/sess_bd836c00fd2e50a6ad60859449d28a85, O_RDWR) failed: No such file or directory (2)


inserir a descrição da imagem aqui

  • Can you write to this directory? Does it exist? Try changing the location where your session is being stored session_save_path

  • Have you tried using Laravel’s own session functions instead of PHP’s native ones?

1 answer

3


Try to update the Composer

php composer update

Another thing, give permissions to your "cache folder"

sudo chmod -R 755 storage bootstrap/cache

Browser other questions tagged

You are not signed in. Login or sign up in order to post.