-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support for disabling additional PHP extensions via `PHP_DISABL…
…E_EXTENSIONS` env (#46) * feat: disable php extensions support via `PHP_DISABLE_EXTENSIONS` Example: $ docker run --rm -p 8088:80 -e PHP_DISABLE_EXTENSIONS="amqp,mongodb,zstd" \ joseluisq/php-fpm:8.3.12 sh -c "echo '<?php phpinfo();' > index.php; php -S [::]:80 -t ." Disabling 3 extension(s): amqp mongodb zstd OK: 'amqp' disabled OK: 'mongodb' disabled OK: 'zstd' disabled Verifying PHP extensions... PHP 8.3.12 (cli) (built: Sep 26 2024 23:00:14) (NTS) Copyright (c) The PHP Group Zend Engine v4.3.12, Copyright (c) Zend Technologies with Zend OPcache v8.3.12, Copyright (c), by Zend Technologies with Xdebug v3.3.2, Copyright (c) 2002-2024, by Derick Rethans [05-Oct-2024 02:37:25] NOTICE: configuration file /usr/local/etc/php-fpm.conf test is successful Tests were successful! [Sat Oct 5 02:37:25 2024] PHP 8.3.12 Development Server (http://[::]:80) started * feat: disable extensions support for 8.1, 8.2 & add extensions list
- Loading branch information
Showing
7 changed files
with
349 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
amqp | ||
apcu | ||
bcmath | ||
bz2 | ||
exif | ||
gd | ||
gettext | ||
gmp | ||
igbinary | ||
imagick | ||
imap | ||
intl | ||
lz4 | ||
memcache | ||
mongodb | ||
msgpack | ||
mysqli | ||
oauth | ||
opcache | ||
pcntl | ||
pdo_dblib | ||
pdo_mysql | ||
pdo_pgsql | ||
pdo_sqlsrv | ||
pgsql | ||
phalcon | ||
psr | ||
rdkafka | ||
redis | ||
soap | ||
sockets | ||
sodium | ||
sqlsrv | ||
ssh2 | ||
swoole | ||
sysvmsg | ||
sysvsem | ||
sysvshm | ||
tidy | ||
uuid | ||
vips | ||
xdebug | ||
xsl | ||
yaml | ||
zip | ||
zstd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
amqp | ||
apcu | ||
bcmath | ||
bz2 | ||
exif | ||
gd | ||
gettext | ||
gmp | ||
igbinary | ||
imagick | ||
imap | ||
intl | ||
lz4 | ||
memcache | ||
mongodb | ||
msgpack | ||
mysqli | ||
oauth | ||
opcache | ||
pcntl | ||
pdo_dblib | ||
pdo_mysql | ||
pdo_pgsql | ||
pdo_sqlsrv | ||
pgsql | ||
phalcon | ||
psr | ||
rdkafka | ||
redis | ||
soap | ||
sockets | ||
sodium | ||
sqlsrv | ||
ssh2 | ||
swoole | ||
sysvmsg | ||
sysvsem | ||
sysvshm | ||
tidy | ||
uuid | ||
vips | ||
xdebug | ||
xsl | ||
yaml | ||
zip | ||
zstd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
amqp | ||
apcu | ||
bcmath | ||
bz2 | ||
exif | ||
gd | ||
gettext | ||
gmp | ||
igbinary | ||
imap | ||
intl | ||
lz4 | ||
memcache | ||
mongodb | ||
msgpack | ||
mysqli | ||
oauth | ||
opcache | ||
pcntl | ||
pdo_dblib | ||
pdo_mysql | ||
pdo_pgsql | ||
pdo_sqlsrv | ||
pgsql | ||
psr | ||
rdkafka | ||
redis | ||
soap | ||
sockets | ||
sodium | ||
sqlsrv | ||
ssh2 | ||
swoole | ||
sysvmsg | ||
sysvsem | ||
sysvshm | ||
tidy | ||
uuid | ||
vips | ||
xdebug | ||
xsl | ||
yaml | ||
zip | ||
zstd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters