Giter Site home page Giter Site logo

zgraveyard / php-7.1-xdebug-alpine Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 6.0 13 KB

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

License: MIT License

Shell 29.48% Dockerfile 70.52%
php alpine docker php-7 php-fpm

php-7.1-xdebug-alpine's Introduction

Docker Pulls

Recommendation

As you know PHP 7.2 has been released while ago, so I recommend that you start using it ASAP, and you can get the same functionality that you have in this image by using my PHP7.2 image https://hub.docker.com/r/zaherg/php-7.2-xdebug-alpine/

Image description

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

PHP 7.1.24 (fpm-fcgi) (built: Nov 16 2018 05:54:39)
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.1.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.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. sodium
  30. SPL
  31. sqlite3
  32. standard
  33. tokenizer
  34. xdebug
  35. xml
  36. xmlreader
  37. xmlwriter
  38. zlib

[Zend Modules]

  1. Xdebug

php-7.1-xdebug-alpine's People

Contributors

zaherg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

php-7.1-xdebug-alpine's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.