sprintcube / docker-compose-lamp

A basic LAMP stack environment built using Docker Compose.
MIT License
2.54k stars 1.39k forks source link

[BUG] php version is always 8.0.19 #258

Closed ndru123 closed 5 months ago

ndru123 commented 5 months ago

Describe the bug A clear and concise description of what the bug is. No matter which value I put under PHP version, I always get PHP Version 8.0.19

which Branch / PHP Version are you using ? php74, php56

Steps to reproduce Steps to reproduce the behavior:

  1. copy sample.env > .env
  2. edit line 8 in .env: PHPVERSION=php56
  3. docker-compose up -d
  4. container has right name (php56), but runs PHP 8.0.19

Expected behavior The server should run PHP 5.6, but doesn't.

Desktop (please complete the following information):

ndru123 commented 5 months ago

nvm, I now I deleted images and volumes and it works