@@ -12,7 +12,7 @@ Check [example](#extensions) below how to add them back in your images based off
1212
1313Docker PHP FPM with lean alpine base. The download size is just about ** ~ 100MB** - tiny given how many extensions it has baked in.
1414
15- It contains PHP>=8.3.4, PHP>=8.2.17, PHP>=8.1.27 and PHP>=8.0.30 with plenty of common and useful extensions.
15+ It contains PHP>=8.4.1, PHP>=8. 3.4, PHP>=8.2.17, PHP>=8.1.27 and PHP>=8.0.30 with plenty of common and useful extensions.
1616
1717If you are looking for a complete local development stack then check
1818[ ` adhocore/lemp ` ] ( https://github.com/adhocore/docker-lemp ) .
@@ -26,6 +26,9 @@ The images are always latest, everytime a new PHP version comes out and its offi
2626To pull latest image:
2727
2828``` sh
29+ # for php >=8.4.1
30+ docker pull adhocore/phpfpm:8.4
31+
2932# for php >=8.3.4
3033docker pull adhocore/phpfpm:8.3
3134
@@ -72,7 +75,7 @@ Latest versions of both Composer v1 and v2 are installed already. You can run v2
7275
7376You can add new extensions in your image like so:
7477``` Dockerfile
75- FROM adhocore/phpfpm:8.3 # or 8.2 , 8.1
78+ FROM adhocore/phpfpm:8.4 # or 8.3 , 8.2
7679
7780RUN \
7881 # setup
@@ -94,6 +97,27 @@ just run `docker-php-ext-enable xdebug` to enable it again without having to reb
9497
9598Below you can find list of extensions by image tags.
9699
100+ ### PHP8.4
101+
102+ ```
103+ PHP 8.4.1, Total extensions: 60
104+ - bcmath - bz2 - calendar - core
105+ - ctype - curl - date - dom
106+ - exif - fileinfo - filter - fpm
107+ - ftp - gd - gettext - gmp
108+ - hash - iconv - imap - intl
109+ - json - ldap - libxml - mbstring
110+ - mysqli - mysqlnd - openssl - pcntl
111+ - pcre - pdo - pdo_mysql - pdo_pgsql
112+ - pdo_sqlite - pgsql - phar - posix
113+ - pspell - random - readline - reflection
114+ - session - shmop - simplexml - soap
115+ - sodium - spl - sqlite3 - standard
116+ - sysvmsg - sysvsem - sysvshm - tidy
117+ - tokenizer - xdebug - xml - xmlreader
118+ - xmlwriter - xsl - zip - zlib
119+ ```
120+
97121### PHP8.3
98122
99123```
@@ -238,10 +262,10 @@ Read more about
238262### Production Usage
239263
240264For production you may want to get rid of some extensions that are not really required.
241- In such case, you can build a custom image on top ` adhocore/phpfpm:8.2 ` like so:
265+ In such case, you can build a custom image on top ` adhocore/phpfpm:8.4 ` like so:
242266
243267``` Dockerfile
244- FROM adhocore/phpfpm:8.2 # or 8.1 or 8.0
268+ FROM adhocore/phpfpm:8.4 # or 8.3 or 8.2
245269
246270# Disable extensions you won't need. You can add as much as you want separated by space.
247271RUN docker-php-ext-disable xdebug pcov ldap
0 commit comments