{"id":31853529,"url":"https://github.com/programie/php-docker","last_synced_at":"2026-02-07T20:14:58.333Z","repository":{"id":200985376,"uuid":"706679898","full_name":"Programie/PHP-Docker","owner":"Programie","description":"A Docker image providing various PHP versions","archived":false,"fork":false,"pushed_at":"2024-02-18T13:39:09.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-29T17:32:03.622Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Programie.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2023-10-18T12:24:56.000Z","updated_at":"2023-10-18T12:32:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"57bd6db4-df9a-433a-9619-7a91a80c77db","html_url":"https://github.com/Programie/PHP-Docker","commit_stats":null,"previous_names":["programie/php-docker"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Programie/PHP-Docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Programie%2FPHP-Docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Programie%2FPHP-Docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Programie%2FPHP-Docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Programie%2FPHP-Docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Programie","download_url":"https://codeload.github.com/Programie/PHP-Docker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Programie%2FPHP-Docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29207457,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T20:13:33.422Z","status":"ssl_error","status_checked_at":"2026-02-07T20:13:31.455Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":"2025-10-12T13:29:44.356Z","updated_at":"2026-02-07T20:14:58.313Z","avatar_url":"https://github.com/Programie.png","language":"Shell","readme":"# PHP Docker\n\nA base PHP Docker image providing Apache, the [Sury PHP repository](https://sury.org) as well as a simple installation script to install any PHP package provided by the Sury PHP repository.\n\n## Usage\n\nThe following example will Install PHP 8.2 with curl, gd and pdo_mysql as additional PHP extensions.\n\n```Dockerfile\nFROM ghcr.io/programie/php-docker\n\nRUN install-php 8.2 curl gd pdo-mysql\n```\n\n## php.ini\n\nBy default, the php.ini is located at `/etc/php/${php_version}/apache2/php.ini` for Apache and `/etc/php/${php_version}/cli/php.ini` for the CLI.\n\nAdditionally, a symlink pointing to the config directory of the currently installed PHP version is created at `/etc/php/current`. In that way, it is possible to add php.ini files independently of the PHP version.\n\nTo share the same configuration between Apache and CLI, there is also a shared `global.ini` located at `/etc/php/current/global.ini`. This file is symlinked as `50-global.ini` into the conf.d folder of the Apache and CLI config directories (`/etc/php/current/apache2/conf.d/50-global.ini` and `/etc/php/current/cli/conf.d/50-global.ini`).\n\n## Document root\n\nThe default document root is `/var/www/html` but can be changed using the environment variable `WEB_ROOT`.\n\n## Timezone\n\nThe default timezone is `UTC` but can be changed using the environment variable `TZ`.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogramie%2Fphp-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprogramie%2Fphp-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogramie%2Fphp-docker/lists"}