{"id":18202538,"url":"https://github.com/srod/docker-apache-php","last_synced_at":"2026-03-19T03:26:12.716Z","repository":{"id":36514384,"uuid":"40820097","full_name":"srod/docker-apache-php","owner":"srod","description":"Apache and PHP made simple.","archived":false,"fork":false,"pushed_at":"2015-08-16T14:24:21.000Z","size":132,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-13T20:18:25.449Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"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/srod.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-16T13:45:18.000Z","updated_at":"2023-03-07T02:36:23.000Z","dependencies_parsed_at":"2022-09-06T18:21:25.751Z","dependency_job_id":null,"html_url":"https://github.com/srod/docker-apache-php","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srod%2Fdocker-apache-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srod%2Fdocker-apache-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srod%2Fdocker-apache-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srod%2Fdocker-apache-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/srod","download_url":"https://codeload.github.com/srod/docker-apache-php/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247705926,"owners_count":20982524,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-03T10:04:22.245Z","updated_at":"2026-01-20T00:37:45.226Z","avatar_url":"https://github.com/srod.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Supported tags and respective `Dockerfile` links\n\n-\t[`5.6.12`, `5.6`, `5`, `latest` (*5.6/Dockerfile*)](https://github.com/srod/docker-apache-php/blob/master/5.6/Dockerfile)\n\n# About this image?\n\nThis image come from the official [Docker php image](https://hub.docker.com/_/php/)\n\nIt was builded with the apache version with mod_rewrite and mysqli php extension.\n\nAnd also with a `date.timezone = Europe/Paris`\n\n![logo](https://raw.githubusercontent.com/docker-library/docs/master/php/logo.png)\n\n# How to use this image\n\n## Start a `apache` server instance with a Dockerfile\n\n### Create a `Dockerfile` in your PHP project\n\n```dockerfile\nFROM srod/apache-php\nCOPY src/ /var/www/html/\n```\n\nWhere `src/` is the directory containing all your php code. Then, run the commands to build and run the Docker image:\n\n```console\n$ docker build -t my-php-app .\n$ docker run -it --rm --name my-running-app my-php-app\n```\n\n## Start a `apache` server instance with Docker Compose\n\n### Create a `docker-compose.yml` in your PHP project\n\n```dockerfile\nweb:\n  image: srod/apache-php\n  ports:\n    - \"8080:80\"\n  volumes:\n    - \"./src:/var/www/html\"\n```\n\nWhere `src/` is the directory containing all your php code. Then, run `docker-compose`:\n\n```console\n$ docker-compose up\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrod%2Fdocker-apache-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrod%2Fdocker-apache-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrod%2Fdocker-apache-php/lists"}