Sign inSign up

a3technology/php-fpm-xdebug

By a3technology

•Updated about 8 years ago

php-fpm based on alpine linux with xdebug extension

Image
0

2.0K

a3technology/php-fpm-xdebug repository overview

⁠docker-php-xdebug

xdebug for php7.2 based on alpine linux

This image extends docker-php-fpm⁠

Warning! Use this image for development only

xdebug default port set to 9001

⁠Usage

version: '2'
services:
    php:
        image: a3technology/php-fpm-xdebug
        restart: always
        volumes:
          #- ./xdebug.ini:/usr/local/etc/php/conf.d/xdebug.ini #use custom xdebug settings

default debug port is 9001

⁠Usage On Windows

On Windows Docker creates DockerNAT virtual net(10.0.75.0 by default), where host machine on 10.0.75.1 and Docker containers on 10.0.75.2

  1. Switch off your windows brandmauer, or add exception rule
  2. add local alias to %SYSTEMROOT%\System32\drivers\etc\hosts
10.0.75.2 site.local
  1. Checkout this repository
version: '2'
services:
    php:
        image: a3technology/php-fpm-xdebug
        restart: always
        volumes:
          #- ./xdebug.ini:/usr/local/etc/php/conf.d/xdebug.ini #use custom xdebug settings
  1. default debug port is 9001
    For PhpStorm:
  • File->Settings PHP->Debug Xdebug Debug port 9001
  • Run->Start listening for PHP Debug Connections
  • open http://site.local⁠

Tag summary

Content type

Image

Digest

Size

113.8 MB

Last updated

about 8 years ago

docker pull a3technology/php-fpm-xdebug