local.ERROR: file_put_contents(/var/www/cargo_api/storage/framework/cache/data/e4/ae/e4ae2331f6fa99550f71$ [stacktrace] 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