How do I install the Redis PHP extention for PHP 7.4?

According to the docs, the Redis PHP extension isn’t available for PHP 7.4. I want to use 7.4 for my app but I also need Redis.

0

Comments

2 comments
Date Votes
  • We have a separate install script you can use to download and compile the Redis extension on the fly during build. It also caches the result so it’s nice and fast in subsequent builds.

    See: https://docs.platform.sh/languages/php/redis.html

    0
  • Update: It’s changed again. You can enable the redis extension the same way as any other extension on PHP 7.4 now.

    0

Please sign in to leave a comment.

 

Didn't find what you were looking for?

New post