diff --git a/plugins/templates/before-script-redis.yml b/plugins/templates/before-script-redis.yml
index 69f3def090187b7234734e73dd53129c1649ef26..90f2d1f3521556f65484bd87503567ca2106473c 100644
--- a/plugins/templates/before-script-redis.yml
+++ b/plugins/templates/before-script-redis.yml
@@ -17,3 +17,4 @@ before_script:
 
   # PECL Redis module
   - pecl install redis
+  - echo "extension=redis.so" > /usr/local/etc/php/conf.d/redis.ini