Skip to content

Commit

Permalink
PHP 8.3 and set state_cache to true
Browse files Browse the repository at this point in the history
  • Loading branch information
mbuechner committed Jul 1, 2024
1 parent 7688109 commit a7e9d15
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN { \
} >> /tmp/cdv/version; \
rm -rf .git/;

FROM php:8.2-fpm-alpine
FROM php:8.3-fpm-alpine
MAINTAINER Michael Büchner <[email protected]>

# Install packages
Expand Down
4 changes: 3 additions & 1 deletion web/sites/default/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -790,10 +790,12 @@
/* Simple Sitemap key */
$settings['simple_sitemap_engines.index_now.key'] = getenv('SIMPLE_SITEMAP_KEY');

/* State cache flag */
$settings['state_cache'] = true;

/* Redis */
if ((getenv('USE_REDIS') ?: 'no') == 'yes') {
$settings['redis.connection']['interface'] = 'PhpRedis';
$settings['redis.connection']['host'] = '127.0.0.1';
$settings['cache']['default'] = 'cache.backend.redis';
}

0 comments on commit a7e9d15

Please sign in to comment.