phpdocker-io/phpdocker.io

please support PHP 7.4

solidpulse opened this issue ยท 10 comments

please support PHP 7.4

We have already php 7.4 images you can manually switch to, if you like. The reason it's not yet on site is because certain php extensions aren't yet available and still install their 7.3 counterparts.

If you want to try this now and you already have already a working environment, try swapping 3 for 4 on your phpdocker/php-fpm/Dockerfile file. For instance (was php 7.3)

FROM phpdockerio/php74-fpm:latest
WORKDIR "/application"

# Install selected extensions and other stuff
RUN apt-get update \
    && apt-get -y --no-install-recommends install  php7.4-mysql \
    && apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/

Then rebuild your stuff:

docker-compose down php-fpm
docker-compose build php-fpm
docker-compose up -d

Version available today (builds daily):

~ docker run phpdockerio/php74-fpm php --version    
PHP 7.4.0RC6 (cli) (built: Nov 19 2019 18:13:12) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0-dev, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.0RC6, Copyright (c), by Zend Technologies

That's awesome. Thank You!

No problemo. I expect the site will have support for it on launch day, will close this when it is so.

PHP 7.4 is out!!

Thanks for the reminder! Changes commited and deployed.

Hi, I still can't see 7.4 in the drop down, do I need to do anything different? https://phpdocker.io/generator
Screenshot 2020-01-21 at 16 51 56

Hmm it is possible somehow your browser is caching an old version?

image

Try force-reloading or a different browser?

Ha, whatever the problem was, I'm happy to say it's gone now. I don't think it was cached as I recently switched to a different browser... but thanks for the help anyway :)

image