file_put_contents(/var/www/html/storage/framework/cache/data/3c/c1/3cc1d5a427a45820b04fe30f78a972b784952460): failed to open stream: Permission denied code example

Example 1: file_put_contents(/var/www/demo.onlineexammanagement.com/public_html/storage/framework/cache/data/ea/83/ea83c7b371f7573de3cd055cea9229af0b0541e5): failed to open stream: No such file or directory

To do this, run the following Artisan commands on your command line
	php artisan cache:clear
    php artisan config:cache
    
Then assign the permissions to the folder 
storage/framework/cache    
and Go to directory laravel/bootstrap/cache and delete config.php

Example 2: ile_put_contents(/var/www/html/TapovanSociety/storage/framework/cache/data/ad/65/ad6538122986afc07151a5b43be0f9ff6ba642a0): failed to open stream: Permission denied

[www-vagrant]
listen = 127.0.0.1:9001;
user=vagrant
group=vagrant

Tags:

Html Example