diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 69906fd51de71a54b967f831a9e5c738d52fccbb..ed6f560596b1efc39eecaf06e4009b69ab193b61 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,6 +7,8 @@ variables:
 
 stages:
   - test-perl
+  - test-php-jessie
+  - test-php-stretch
   - test-php
   - test-manpages
   - transifex
@@ -69,15 +71,23 @@ create_php_code_sniffer_rapport:
     - find . -type f -name '*.php' -o -name '*.inc' > ./filelist
     - phpcs --standard=../dev-tools/php-codesniffer-rules/FDStandard/ruleset.xml --file-list=./filelist
 
-# PHP lint
+# PHP lint (jessie)
 create_php_lint_rapport:
-  stage: test-php
+  image: 5.6.33-cli-jessie
+  stage: test-php-jessie
+  only:
+    - branches
+    - tags
+  script:
+    - find . -type f -name '*.php' -o -name '*.inc' -print0 | xargs -0 -n1 php -l
+
+# PHP lint (stretch)
+create_php_lint_rapport:
+  image: 5.6.33-cli-stretch
+  stage: test-php-stretch
   only:
     - branches
     - tags
-  before_script:
-    - apt-get update -qq
-    - apt-get install -y -qq php-cli
   script:
     - find . -type f -name '*.php' -o -name '*.inc' -print0 | xargs -0 -n1 php -l