This image is deprecated in favor of clevyr/php.
10K+
An enhanced version of the default PHP Docker image which can install PHP extensions without requiring manual dependency installation using mlocati/docker-php-extension-installer and installs a default nginx setup.
docker pull clevyr/php:<PHP version>
| Build Arg | Description |
|---|---|
INSTALL | PHP extensions to install. See here for available extensions. |
DEPS | apk dependencies to install during the build. |
Some nginx values can be configured as a build arg.
Some php.ini values can be configured as a build arg.
| Build Arg | php.ini Directive | Default |
|---|---|---|
PHP_CONF_MAX_EXECUTION_TIME | max_execution_time | 30 |
PHP_CONF_MAX_INPUT_VARS | max_input_vars | 1000 |
PHP_CONF_MEMORY_LIMIT | memory_limit | 256M |
PHP_CONF_POST_MAX_SIZE | post_max_size | 32M |
PHP_CONF_UPLOAD_MAX_FILESIZE | upload_max_filesize | 8M |
These are the legacy build args. They will still be supported for the forseeable future, but they are not as powerful as the new INSTALL build arg, so if you are creating an app from scratch, the INSTALL build arg may be more useful for you. These are also convenient because they group up some extensnions. For example, if you set INSTALL_MYSQL=true, then both mysqli and pdo_mysql will be installed.
| Build Arg | Default |
|---|---|
INSTALL_BCMATH | true |
INSTALL_CALENDAR | false |
INSTALL_EXIF | false |
INSTALL_GD | true |
INSTALL_IMAGICK | false |
INSTALL_INTL | false |
INSTALL_MOSQUITTO | false |
INSTALL_MYSQL | false |
INSTALL_PGSQL | true |
INSTALL_REDIS | false |
INSTALL_XDEBUG | false |
INSTALL_ZIP | false |
Content type
Image
Digest
Size
39.6 MB
Last updated
over 5 years ago
docker pull clevyr/laravel-base-image-builder