Configure Cache when Deploying CI 4 to Google App Engine Standard - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9) +--- Thread: Configure Cache when Deploying CI 4 to Google App Engine Standard (/showthread.php?tid=88835) |
Configure Cache when Deploying CI 4 to Google App Engine Standard - DanielAttard - 11-17-2023 I have a CI 3 application currently deployed to Google App Engine (Standard). Recently I have started to see the following warning: Code: WARNING: PHP 7.4 is no longer supported by the PHP community as of 28 November, 2022. PHP 7.4 will be end of support on 2024-01-30. As of 2024-01-30 you will no longer be able to deploy your App Engine Standard using php74. We recommend you to upgrade to the latest version of PHP as soon as possible. I understand that in Google App Engine (Standard) you can read and write files to a directory named "/tmp" and files in this directory are stored in RAM. Code: public array $file = [ I tried setting the writable path to a few different variations but none of these seemed to work: Code: 'storePath' = '/tmp/', # incorrect path 1 This is the error message that I receive in Google App Engine where it is unable to write to the cache: Code: PHP message: PHP Fatal error: Uncaught CodeIgniter\Cache\Exceptions\CacheException: Cache unable to write to "/workspace/tmp/cache/". in /workspace/vendor/codeigniter4/framework/system/Cache/Handlers/FileHandler.php:66 xx RE: Configure Cache when Deploying CI 4 to Google App Engine Standard - JustJohnQ - 11-17-2023 Not a Unix expert but don’t you want to use 0644? RE: Configure Cache when Deploying CI 4 to Google App Engine Standard - kenjis - 11-18-2023 How do you do with CI3? |