Skip to content

Commit 1ae6d59

Browse files
committed
Support more PHP 8.0 extensions
Added : mongodb, swoole, zip and blackfire.
1 parent ded05ed commit 1ae6d59

File tree

6 files changed

+37
-4
lines changed

6 files changed

+37
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
### Minor changes
66

77
* **2021-09-22**
8+
* Support more PHP 8.0 extensions | Added : mongodb, swoole, zip and blackfire.
89
* Enhance builder | Use BuildKit, add header to blueprint exported files and start a Makefile for common build usages.
910

1011
### Initial

HELP.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# HELP
2+
3+
## Need help
4+
5+
* [ ] Script who test all available extensions in one pass
6+
* [ ] BuildKit is now use without trouble, for extend it, use of docker buildx bake may helpful
7+
* [ ] We need lighten the images
8+
* [ ] Link and document one tool who help create packaged app with the slim image
9+
10+
## Tips
11+
12+
### How to test extensions available
13+
14+
* Build the slim image
15+
* Run it with docker and try extensions with follow commands
16+
```bash
17+
docker run -it --rm thecodingmachine/php:8.1-v4-slim-apache sudo bash
18+
apt-get update
19+
apt-cache search --names-only php8.1-zip
20+
```
21+
* Pay attention of extensions installed by pickle (not listed on apt repo)
22+
23+
Some links with information updated :
24+
* [One list of php extensions supported in PHP 8.0](https://blog.remirepo.net/post/2020/09/21/PHP-extensions-status-with-upcoming-PHP-8.0)
25+
26+
### Compare list extensions between versions
27+
28+
```bash
29+
diff -q ./extensions/core ./extensions/8.0
30+
```

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,8 @@ Below is a list of extensions available in this image:
157157
- *mcrypt* is not available anymore in PHP 7.3+
158158
- *weakref* is not compatible with PHP 7.3+ (but weak references were added to the PHP core in PHP 7.4)
159159
- *sybase* extension is not available in v4 (use v3)
160-
- *ev*, *event*, *gnupg*, *mongodb*, *rdkafka*, *swoole*, *uploadprogress*, *xmlrpc*, *blackfire* are not available in PHP 8.0+
160+
- *ev*, *event*, *gnupg*, *uploadprogress*, *xmlrpc* are not available in PHP 8.0+
161+
- *amqp*, *apcu*, *ast*, *ds*, *gettext*, *grpc*, *igbinary*, *imagick*, *mailparse*, *memcached*, *mongodb*, *msgpack*, *mysqli*, *pcov*, *rdkafka*, *redis*, *swoole*, *uploadprogress*, *uuid*, *xdebug*, *yaml* are not available in PHP 8.1+ (RC)
161162

162163
### Enabling/disabling extensions in the fat image
163164

extensions/8.0/sqlite3

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
../core/sqlite3/
1+
../core/sqlite3

extensions/8.0/xdebug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
../core/xdebug/
1+
../core/xdebug

utils/README.blueprint.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ Below is a list of extensions available in this image:
105105
- *mcrypt* is not available anymore in PHP 7.3+
106106
- *weakref* is not compatible with PHP 7.3+ (but weak references were added to the PHP core in PHP 7.4)
107107
- *sybase* extension is not available in v4 (use v3)
108-
- *ev*, *event*, *gnupg*, *mongodb*, *rdkafka*, *swoole*, *uploadprogress*, *xmlrpc*, *blackfire* are not available in PHP 8.0+
108+
- *ev*, *event*, *gnupg*, *uploadprogress*, *xmlrpc* are not available in PHP 8.0+
109+
- *amqp*, *apcu*, *ast*, *ds*, *gettext*, *grpc*, *igbinary*, *imagick*, *mailparse*, *memcached*, *mongodb*, *msgpack*, *mysqli*, *pcov*, *rdkafka*, *redis*, *swoole*, *uploadprogress*, *uuid*, *xdebug*, *yaml* are not available in PHP 8.1+ (RC)
109110

110111
### Enabling/disabling extensions in the fat image
111112

0 commit comments

Comments
 (0)