[abandoned-project] This image contain php-7.2 based on alpine with xDebug, Redis & GD and Composer
10K+
This image contain PHP 7.x based on alpine with xDebug, MySQL, PostgreSQL, Redis & GD enabled and Composer already installed
By default xdebug is enabled, to disable it you need to create a .env file which should contain the following variables, but remember to change the value based one what you want to achieve:
PHP_XDEBUG_DEFAULT_ENABLE=0
PHP_XDEBUG_REMOTE_ENABLE=0
PHP_XDEBUG_REMOTE_HOST=127.0.0.1
PHP_XDEBUG_REMOTE_PORT=9001
PHP_XDEBUG_REMOTE_AUTO_START=0
PHP_XDEBUG_REMOTE_CONNECT_BACK=0
PHP_XDEBUG_IDEKEY=docker
PHP_XDEBUG_PROFILER_ENABLE=0
PHP_XDEBUG_PROFILER_OUTPUT_DIR=/tmp
By default OPCache is enabled, to disable it you need to create a .env file which should contain the following variables, but remember to change the value based one what you want to achieve:
PHP_OPCACHE_VALIDATE_TIMESTAMPS=0
PHP_OPCACHE_MAX_ACCELERATED_FILES=10000
PHP_OPCACHE_MEMORY_CONSUMPTION=192
PHP_OPCACHE_MAX_WASTED_PERCENTAGE=10
Then run the docker and specify the env file that you have created like this
docker run --env-file .env -p 80:80 zaherg/php-xdebug-alpine:<version>
Latest will always be used with the latest PHP version
It has the following modules:
[PHP Modules]
[Zend Modules]
GD Support => enabled
GD Version => bundled (2.1.0 compatible)
FreeType Support => enabled
FreeType Linkage => with freetype
FreeType Version => 2.8.1
GIF Read Support => enabled
GIF Create Support => enabled
JPEG Support => enabled
libJPEG Version => 8
PNG Support => enabled
libPNG Version => 1.6.34
WBMP Support => enabled
XBM Support => enabled
Directive => Local Value => Master Value
gd.jpeg_ignore_warning => 1 => 1
Content type
Image
Digest
Size
69.8 MB
Last updated
over 6 years ago
docker pull zaherg/php-7.2-xdebug-alpine