https://github.com/zgraveyard/php-7.2-xdebug-alpine
this is just a docker image for php 7.2 + xdeug based on alpine , for personal usage
https://github.com/zgraveyard/php-7.2-xdebug-alpine
php php-7 php-docker-image php-fpm php-fpm-v7 php-gd php-xdebug php7 php72 redis xdebug
Last synced: 4 months ago
JSON representation
this is just a docker image for php 7.2 + xdeug based on alpine , for personal usage
- Host: GitHub
- URL: https://github.com/zgraveyard/php-7.2-xdebug-alpine
- Owner: zgraveyard
- License: mit
- Archived: true
- Created: 2017-12-02T16:24:39.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-11T08:42:10.000Z (over 6 years ago)
- Last Synced: 2024-09-28T19:40:57.416Z (8 months ago)
- Topics: php, php-7, php-docker-image, php-fpm, php-fpm-v7, php-gd, php-xdebug, php7, php72, redis, xdebug
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/zaherg/php-7.2-xdebug-alpine/
- Size: 13.7 KB
- Stars: 11
- Watchers: 1
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://hub.docker.com/r/zaherg/php-7.2-xdebug-alpine/) [](https://microbadger.com/images/zaherg/php-7.2-xdebug-alpine "Get your own image badge on microbadger.com") [](https://microbadger.com/images/zaherg/php-7.2-xdebug-alpine "Get your own version badge on microbadger.com") [](https://microbadger.com/images/zaherg/php-7.2-xdebug-alpine "Get your own commit badge on microbadger.com") [](https://github.com/linuxjuggler/php-7.2-xdebug-alpine)
## Image description
This image contain php-7.2 based on alpine with xDebug, MySQL, PostgreSQL, Redis & GD enabled and Composer already installed
```
PHP 7.2.12 (fpm-fcgi) (built: Nov 16 2018 04:05:42)
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Xdebug v2.6.1, Copyright (c) 2002-2018, by Derick Rethans
```## Runing the image:
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
```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-7.2-xdebug-alpine
```## Installed modules information
It has the following modules:
[PHP Modules]
1. Core
1. ctype
1. curl
1. date
1. dom
1. fileinfo
1. filter
1. ftp
1. gd
1. hash
1. iconv
1. intl
1. json
1. libxml
1. mbstring
1. mysqlnd
1. openssl
1. pcre
1. PDO
1. pdo_mysql
1. pdo_pgsql
1. pdo_sqlite
1. pgsql
1. Phar
1. posix
1. readline
1. redis
1. Reflection
1. session
1. SimpleXML
1. sodium
1. SPL
1. sqlite3
1. standard
1. tokenizer
1. xdebug
1. xml
1. xmlreader
1. xmlwriter
1. zip
1. zlib[Zend Modules]
1. Xdebug
## GD information
```
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 => enabledDirective => Local Value => Master Value
gd.jpeg_ignore_warning => 1 => 1
```