{"id":18351867,"url":"https://github.com/codibly/docker-php","last_synced_at":"2026-03-19T04:02:26.441Z","repository":{"id":43579825,"uuid":"96783952","full_name":"codibly/docker-php","owner":"codibly","description":"PHP docker image based on official one with pre-installed extensions and tools.","archived":false,"fork":false,"pushed_at":"2024-01-08T14:23:15.000Z","size":59,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-10-01T13:53:04.325Z","etag":null,"topics":[],"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/codibly.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}},"created_at":"2017-07-10T14:00:27.000Z","updated_at":"2019-02-04T08:29:06.000Z","dependencies_parsed_at":"2024-11-05T21:48:55.146Z","dependency_job_id":null,"html_url":"https://github.com/codibly/docker-php","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codibly/docker-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codibly%2Fdocker-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codibly%2Fdocker-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codibly%2Fdocker-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codibly%2Fdocker-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codibly","download_url":"https://codeload.github.com/codibly/docker-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codibly%2Fdocker-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28626258,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T02:47:06.670Z","status":"ssl_error","status_checked_at":"2026-01-21T02:45:44.886Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2024-11-05T21:33:14.811Z","updated_at":"2026-01-21T04:33:08.009Z","avatar_url":"https://github.com/codibly.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"## PHP with fpm\nPHP docker image based on official one with pre-installed extensions and tools.\n\n### Download\nGrab it by running\n```\ndocker pull codibly/php:PHP-VERSION\n```\nwhere **PHP-VERSION** (optional, defaults to **latest**) is a desired version of PHP:\n\n* **7** - the very latest stable version (same as **latest**)\n* **7.x** - the latest version for 7.x branch\n* **7.x.y** - the specific version\n\navailable versions:\n* 7.1.6\n* 7.1.7\n* 7.2\n* 7.3\n\n### Run\nType\n```\ndocker run --name some-php -d codibly/php:PHP-VERSION\n```\n\nThat will start php-fpm daemon listening on 9000 port with PID 1.\n\nLogs are written to STDOUT, examine them running\n\n```\ndocker logs some-php -f\n```\n\n### Configuration\nMain PHP configuration file can be found at ```/usr/local/etc/php/php.ini``` and extra ones in ```/usr/local/etc/php/conf.d``` directory (every file with **.ini** will be parsed and included). **Provided php.ini file is suitable for development.**\n\nMain php-fpm configuration is here ```/usr/local/etc/php-fpm.conf``` while pools configuration should be place in ```/usr/local/etc/php-fpm.d``` with **.conf** extension.\n\nTo tweak anyting you can provide your own configuration file in your derived images or edit existing one and tell php-fpm daemon to reload itself  by sending USR2 signal\n\n```\nkill -USR2 1\n```\n\n### Pre-installed extensions\n* bcmath\n* calendar\n* ctype\n* dba\n* dom\n* exif\n* fileinfo\n* ftp\n* gettext\n* gd\n* hash\n* iconv\n* intl\n* mbstring\n* mongodb\n* opcache\n* pcntl\n* pdo\n* pdo_pgsql\n* pdo_mysql\n* posix\n* session\n* simplexml\n* soap\n* sockets\n* xsl\n* zip\n\n### Installed PHP software/tools\n* [composer](https://www.google.pl/url?sa=t\u0026rct=j\u0026q=\u0026esrc=s\u0026source=web\u0026cd=1\u0026cad=rja\u0026uact=8\u0026ved=0ahUKEwiB2JLG14DVAhXmO5oKHWdsBkkQFggnMAA\u0026url=https%3A%2F%2Fgetcomposer.org%2F\u0026usg=AFQjCNH7QQE7wICZatZPhYJLbpp9LfGRww)\n* [symfony installer](https://symfony.com/doc/current/setup.html)\n\n\n### Debugers\n* xdebug (configuration file: ```/usr/local/etc/php/conf.d/xdebug.ini```)\n* phpdbg\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodibly%2Fdocker-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodibly%2Fdocker-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodibly%2Fdocker-php/lists"}