{"id":41839416,"url":"https://github.com/mobtitude/docker-php-xdebug","last_synced_at":"2026-01-25T09:19:13.335Z","repository":{"id":49979958,"uuid":"121553676","full_name":"mobtitude/docker-php-xdebug","owner":"mobtitude","description":"Docker images with PHP and xdebug installed, configured and ready to debug and profile applications in modern IDEs.","archived":false,"fork":false,"pushed_at":"2025-12-04T09:37:39.000Z","size":36,"stargazers_count":19,"open_issues_count":2,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-12-07T17:22:31.600Z","etag":null,"topics":["docker-image","php","php-xdebug","php7","phpstorm"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mobtitude.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-02-14T19:44:43.000Z","updated_at":"2025-12-04T09:37:44.000Z","dependencies_parsed_at":"2022-08-03T16:30:12.289Z","dependency_job_id":null,"html_url":"https://github.com/mobtitude/docker-php-xdebug","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mobtitude/docker-php-xdebug","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mobtitude%2Fdocker-php-xdebug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mobtitude%2Fdocker-php-xdebug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mobtitude%2Fdocker-php-xdebug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mobtitude%2Fdocker-php-xdebug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mobtitude","download_url":"https://codeload.github.com/mobtitude/docker-php-xdebug/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mobtitude%2Fdocker-php-xdebug/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28750872,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T09:00:19.176Z","status":"ssl_error","status_checked_at":"2026-01-25T09:00:04.131Z","response_time":113,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker-image","php","php-xdebug","php7","phpstorm"],"created_at":"2026-01-25T09:19:12.860Z","updated_at":"2026-01-25T09:19:13.330Z","avatar_url":"https://github.com/mobtitude.png","language":"Dockerfile","readme":"[![Pipes](https://github.com/mobtitude/docker-php-xdebug/actions/workflows/pipes.yaml/badge.svg)](https://github.com/mobtitude/docker-php-xdebug/actions/workflows/pipes.yaml)\n\nAbout this repo\n===============\nThis repository contains Dockerfiles to build PHP images with `xdebug` installed and configured to run with modern IDEs like phpStorm.\n\nDocker images are based on official Docker PHP builds that are available in Docker Store: \u003chttps://store.docker.com/images/php\u003e\n\nWhy `docker-php-xdebug`?\n----------------------\nOfficial PHP images are great, however they don't have `xdebug` plugin installed by default, so it's hard to use them when developing PHP applications on local machine.\n\nImages from this repository are the solution for this issue, since they have installed and configured `xdebug` plugin.\n\nThe only difference from the official Docker PHP images is that, the `xdebug` plugin is installed, configured and ready to use with modern IDEs like phpStorm.\n\nUse from Docker Registry\n--------------------------\nSince all images are based on official Docker PHP images, please check [official Docker PHP images documentation](https://store.docker.com/images/php) how to use them from Docker Registry.\n\nThe only difference is that, instead of downloading official Docker PHP image, you have to use one of the images listed below.\n\nSupported tags:\n\n* mobtitude/php-xdebug:5.6-apache\n* mobtitude/php-xdebug:5.6-cli\n* mobtitude/php-xdebug:5.6-fpm\n* mobtitude/php-xdebug:7.0-apache\n* mobtitude/php-xdebug:7.0-cli\n* mobtitude/php-xdebug:7.0-fpm\n* mobtitude/php-xdebug:7.1-apache\n* mobtitude/php-xdebug:7.1-cli\n* mobtitude/php-xdebug:7.1-fpm\n* mobtitude/php-xdebug:7.2-apache\n* mobtitude/php-xdebug:7.2-cli\n* mobtitude/php-xdebug:7.2-fpm\n* mobtitude/php-xdebug:8.1-apache\n* mobtitude/php-xdebug:8.1-cli\n* mobtitude/php-xdebug:8.1-fpm\n* mobtitude/php-xdebug:8.2-apache\n* mobtitude/php-xdebug:8.2-cli\n* mobtitude/php-xdebug:8.2-fpm\n* mobtitude/php-xdebug:8.3-apache\n* mobtitude/php-xdebug:8.3-cli\n* mobtitude/php-xdebug:8.3-fpm\n\nBuild from source\n-------------------\n1. Clone git repo from https://github.com/mobtitude/docker-php-xdebug\n2. Run `make build` to build **all images** from this repository.\n\nHow to use it with IDEs\n-----------------------\nImages available in this repository are ready to debug and profile PHP applications with modern IDEs that use xdebug.\nJust configure your favorite IDE to use it.\n\nFor example, here are instructions with step-by-step guide for PhpStorm how to use `xdebug` to debug and profile PHP applications: https://www.jetbrains.com/help/phpstorm/debugging-with-phpstorm-ultimate-guide.html\n\nPlease note that you will have `xdebug` already installed and configured - the only thing you need to configure is your IDE!\n\n\n`xdebug` configuration\n--------------------\n`xdebug` plugin is installed and configured in all Docker images from this repository.\nThe `xdebug` configuration is located in file: `/usr/local/etc/php/conf.d/xdebug.ini`\n\nDefault `xdebug` configuration for all images in this repository is as follow:\n\n\t[xdebug]\n\tzend_extension=xdebug.so\n\n\txdebug.cli_color=1\n\txdebug.profiler_enable=0\n\txdebug.profiler_enable_trigger=1\n\n\txdebug.profiler_output_dir=\"/tmp\"\n\txdebug.profiler_output_name=\"cachegrind.out.%H.%t.%p\"\n\n\txdebug.remote_enable=1\n\txdebug.remote_connect_back=1\n\txdebug.remote_port=9000\n\t\nExplanation for these options and full `xdebug` documentation: https://xdebug.org/docs/\n\nYou can overwrite `xdebug` configuration in the following ways:\n\n1. By replacing `xdebug.ini` with your own content when starting container, by mounting your own `xdebug.ini` file to `/usr/local/etc/php/conf.d/xdebug.ini`\n2. By replacing specific PHP options with `-d` when starting php script in container: \n\t`php -dxdebug.remote_port=9050 -dxdebug.profiler_enable=1` \n3. By replacing specific PHP options in VirtualHost or `.htaccess` file when running web application in Apache as explained in PHP docs: http://php.net/manual/en/configuration.changes.php\n\nFAQ\n---\nQ: Why images don't have specific PHP version like `7.2.2` but only major and minor version `7.2`?\n\nA: It is because images in this repo have always the newest possible patch version of PHP based on official Docker PHP images.\nFor example for `mobtitude/php-xdebug:7.2-apache` you can expect that it is always the newest PHP version available in official Docker Registry and it is automatically updated when official PHP Docker images are updated. The newest possible PHP version at the time of writing is 7.2.2, but will be automatically updated to 7.2.3 when official PHP Docker images are updated.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmobtitude%2Fdocker-php-xdebug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmobtitude%2Fdocker-php-xdebug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmobtitude%2Fdocker-php-xdebug/lists"}