Enable/disable PHP modules
Enable/disable PHP modules
https://github.com/devilbox/docker-php-fpm/blob/master/doc/php-modules.md Follow the link to see all available PHP modules for each different PHP-FPM server version.
Enabled PHP modules
At the moment all PHP modules are enabled by default except ioncube, So this one is the only one you can currently enable. To do so follow the steps provided below:
-
Stop the Devilbox
-
Enable modules in
.envunderPHP_MODULES_ENABLETerminal window # Enable IoncubePHP_MODULES_ENABLE=ioncube -
Start the Devilbox
env-file-php-modules-enable
Disable PHP modules
If you feel there are currently too many modules loaded and you want to
unload some of them by default, you can do so via a comma separated list
in .env.
-
Stop the Devilbox
-
Disable modules in
.envunderPHP_MODULES_DISABLETerminal window # Disable Xdebug, Imagick and SwoolePHP_MODULES_DISABLE=xdebug,imagick,swoole -
Start the Devilbox
env-file-php-modules-disable
Roadmap
In order to create a performent, secure and sane default PHP-FPM server, only really required modules should be enabled by default. The rest is up to the user to enable others as needed.
The current discussion about default modules can be found at the following Github issue. Please participate and give your ideas: https://github.com/cytopia/devilbox/issues/299