ho-nl / docker-development-box

🐳 Reach Digital Magento 2 Docker+local hybrid devbox 🐳
Apache License 2.0
20 stars 4 forks source link

PHP version unexepectedly changed to PHP 8.x #98

Closed hnsr closed 11 months ago

hnsr commented 2 years ago

After the switch to the shivammathur/php brew tap, we install all php-fpm services with the version in the service name. Before, we installed a php-fpm service without version included, which always ran the latest available PHP version from brew (which back then was PHP 7.4, but currently is PHP 8.1).

Because this service is not removed/cleaned up currently by the install.sh script, it will still attempt to start and listen on port 9074, causing one to (depending on which service happens to start first and listen on port 9074) unexpectedly run PHP 8.1.