Skip to content

krouma/docker-php-xdebug

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker php-xdebug image

This image is based on the official php image. It also does the following:

Base image

Supported tags and respective Dockerfile links

How to use this image.

See the php image documentation.

But use krouma/php-xdebug instead of php.

How to use XDebug

With apache

It should work out of the box with your IDE.

In CLI

You must specify the following option:

  • xdebug.remote_autostart
  • xdebug.remote_host

For example, you can run:

php -d xdebug.remote_autostart=1 -d xdebug.remote_host=192.168.99.1 test.php

Supported Docker versions

This image is officially supported on Docker version 1.8.1.

Support for older versions (down to 1.6) is provided on a best-effort basis.

Please see the Docker installation documentation for details on how to upgrade your Docker daemon.

About

Add XDebug to the official php image

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Dockerfile 82.0%
  • PHP 11.9%
  • Shell 6.1%