/php-7.1-xdebug-alpine

this is just a docker image for php 7.1 + xdeug based on alpine , for personal usage

Primary LanguageShell

Docker Pulls

Image description

This image contain php-7.1 based on alpine with xDebug enabled and Composer installed

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.1-xdebug-alpine

Installed modules information

It has the following modules:

[PHP Modules]

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

[Zend Modules]

  1. Xdebug