php – 錯誤解決方法:LogicException: Please make sure the PHP Redis extension is installed and enabled.

這幾天 laradock 重新安裝,跑 test 會出現
LogicException: Please make sure the PHP Redis extension is installed and enabled.

追原因應該是 php-redis 現在也要使用版本號的關係,但是 laradock 的 Dockerfile 沒更新

查找已安裝的套件

因此在 workspace 下指令即可

檢查看是否安裝

這樣就正常了

發表迴響