Skip to content
This repository has been archived by the owner on Dec 12, 2018. It is now read-only.

another docker image for my personal use

Notifications You must be signed in to change notification settings

zgraveyard/php-and-nginx-xdebug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Pulls

PHP, Nginx & Xdebug Docker image

This image was built based on the scripts that I have found at docker-alpine-micro , and with the help of his docker-utils script I was able to build my own image.

This is still new/simple docker image which will have:

  1. PHP7.2
  2. Nginx
  3. Crond
  4. rsyslogd

PHP Modules

[PHP Modules]

  1. Core
  2. ctype
  3. curl
  4. date
  5. dom
  6. fileinfo
  7. filter
  8. ftp
  9. gd
  10. hash
  11. iconv
  12. intl
  13. json
  14. libxml
  15. mbstring
  16. mysqlnd
  17. openssl
  18. pcre
  19. PDO
  20. pdo_mysql
  21. pdo_pgsql
  22. pdo_sqlite
  23. pgsql
  24. Phar
  25. posix
  26. readline
  27. redis
  28. Reflection
  29. session
  30. SimpleXML
  31. sodium
  32. SPL
  33. sqlite3
  34. standard
  35. tokenizer
  36. xdebug
  37. xml
  38. xmlreader
  39. xmlwriter
  40. Zend OPcache
  41. zip
  42. zlib

[Zend Modules]

  1. Xdebug
  2. Zend OPcache

Configuration

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-and-nginx-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 => enabled

Directive => Local Value => Master Value
gd.jpeg_ignore_warning => 1 => 1

About

another docker image for my personal use

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published