エラー:Docker + Laravel 6 + Redis (Please remove or rename the Redis facade alias in your "app" configuration file in order to avoid collision with the PHP Redis extension.)
エラー
Laravel 6をDockerのRedisイメージで動かそうとするとエラーが出た
公式ドキュメント
Before using Redis with Laravel, we encorage you to install and use the PhpRedis PHP extension via PECL. The extension is more complex to install but may yield better performance for applications that make heavy use of Redis.
解決策
Dockerfile
FROM php:7.2-apache
RUN git clone https://github.com/phpredis/phpredis.git /usr/src/php/ext/redis
RUN redis
Author And Source
この問題について(エラー:Docker + Laravel 6 + Redis (Please remove or rename the Redis facade alias in your "app" configuration file in order to avoid collision with the PHP Redis extension.)), 我々は、より多くの情報をここで見つけました https://qiita.com/onarimonster/items/ddbd73ce87da3acee997著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .