Reputation: 31
I am facing the following issue in the production server (not in local
or dev
):
production.ERROR: phpFastCache\Exceptions\phpFastCacheDriverException: PLEASE CREATE OR CHMOD /var/www/curator5/vendor/raiym/instagram-php-scraper/src/InstagramScraper/sessions/curatorlive.com/Files - 0777 OR ANY WRITABLE PERMISSION! in /var/www/curator5/vendor/phpfastcache/phpfastcache/src/phpFastCache/Core/PathSeekerTrait.php:110
On the following discussion: https://github.com/PHPSocialNetwork/phpfastcache/issues/441, they suggest to create a folder with absolute path for that library to write to. I was thinking to create a folder in storage/app
called cache for that purpose, I know that in storage/framework/cache
there is a similar folder for the framework to cache, I am not sure if I should use this folder instead.
My questions:
storage/framework/cache
or
create a new one if so what is the best place to create it?Reference to the folder cache
I would like to create inside storage/app
and the stuff the library will create inside that folder, in the following image:
Image
Upvotes: 0
Views: 474