Today i went to my website and this what i found.
And i'm really confused right now, is anyone familiar with this problem?
Today i went to my website and this what i found.
And i'm really confused right now, is anyone familiar with this problem?
you need to run the below command on your server:
sudo chown -R www-data:www-data /var/www/html/projectpath
if you only want to give permission to storage folder then run below command:
chmod 775 /var/www/html/projectpath/storage
Hope you got your answer.
This issue is not at all because of laravel. It is occurring because there is no permission given to your storage folder to open the file.
So you need to give permission by using below command:
sudo chmod 777 /var/www/html/projectpath/storage
777 command means you're giving all the permissions like read write open and making it accessible.