@@ -12,7 +12,7 @@ Check [example](#extensions) below how to add them back in your images based off
12
12
13
13
Docker PHP FPM with lean alpine base. The download size is just about ** ~ 100MB** - tiny given how many extensions it has baked in.
14
14
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.
16
16
17
17
If you are looking for a complete local development stack then check
18
18
[ ` 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
26
26
To pull latest image:
27
27
28
28
``` sh
29
+ # for php >=8.4.1
30
+ docker pull adhocore/phpfpm:8.4
31
+
29
32
# for php >=8.3.4
30
33
docker pull adhocore/phpfpm:8.3
31
34
@@ -72,7 +75,7 @@ Latest versions of both Composer v1 and v2 are installed already. You can run v2
72
75
73
76
You can add new extensions in your image like so:
74
77
``` Dockerfile
75
- FROM adhocore/phpfpm:8.3 # or 8.2 , 8.1
78
+ FROM adhocore/phpfpm:8.4 # or 8.3 , 8.2
76
79
77
80
RUN \
78
81
# setup
@@ -94,6 +97,27 @@ just run `docker-php-ext-enable xdebug` to enable it again without having to reb
94
97
95
98
Below you can find list of extensions by image tags.
96
99
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
+
97
121
### PHP8.3
98
122
99
123
```
@@ -238,10 +262,10 @@ Read more about
238
262
### Production Usage
239
263
240
264
For 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:
242
266
243
267
``` 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
245
269
246
270
# Disable extensions you won't need. You can add as much as you want separated by space.
247
271
RUN docker-php-ext-disable xdebug pcov ldap
0 commit comments