{"id":18411426,"url":"https://github.com/alfg/docker-php-apache","last_synced_at":"2025-04-07T11:31:42.130Z","repository":{"id":142573659,"uuid":"146158769","full_name":"alfg/docker-php-apache","owner":"alfg","description":"A Dockerfile installing Apache 2.4, mod_php with a default settings template. Built on Alpine Linux.","archived":false,"fork":false,"pushed_at":"2019-08-25T08:40:00.000Z","size":35,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-22T17:02:04.232Z","etag":null,"topics":["apache","docker","php","php7"],"latest_commit_sha":null,"homepage":"https://github.com/alfg/docker-php-apache","language":"Dockerfile","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/alfg.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-26T06:58:41.000Z","updated_at":"2024-09-05T16:06:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"8c914c7f-d6cb-4424-b139-fb6812794eac","html_url":"https://github.com/alfg/docker-php-apache","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfg%2Fdocker-php-apache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfg%2Fdocker-php-apache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfg%2Fdocker-php-apache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfg%2Fdocker-php-apache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alfg","download_url":"https://codeload.github.com/alfg/docker-php-apache/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247644144,"owners_count":20972227,"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":["apache","docker","php","php7"],"created_at":"2024-11-06T03:36:59.609Z","updated_at":"2025-04-07T11:31:42.112Z","avatar_url":"https://github.com/alfg.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker PHP Apache\nA Dockerfile installing Apache 2.4, mod_php with a default settings template. Built on Alpine Linux for a small footprint ~26MB.\n\nUse this as a template for serving PHP applications on Apache.\n\n\n[![Docker Stars](https://img.shields.io/docker/stars/alfg/php-apache.svg)](https://hub.docker.com/r/alfg/php-apache/)\n[![Docker Pulls](https://img.shields.io/docker/pulls/alfg/php-apache.svg)](https://hub.docker.com/r/alfg/php-apache/)\n[![Docker Automated build](https://img.shields.io/docker/automated/alfg/php-apache.svg)](https://hub.docker.com/r/alfg/php-apache/builds/)\n[![Build Status](https://travis-ci.org/alfg/docker-php-apache.svg?branch=master)](https://travis-ci.org/alfg/docker-php-apache)\n\n## Usage\n\n* Pull docker image and run:\n```\ndocker pull alfg/php-apache\ndocker run -it -p 8080:80 --rm alfg/php-apache\n```\n\n* or build and run container from source:\n```\ndocker build -t php-apache\ndocker run -it -p 8080:80 --rm php-apache\n```\n\n* or build using `docker-compose`:\n```\ndocker-compose build\ndocker-compose up\n```\n\n```\n$ curl -I localhost:8080/info.php\n\nHTTP/1.1 200 OK\nDate: Mon, 27 Aug 2018 00:18:27 GMT\nServer: Apache/2.4.34 (Unix)\nX-Powered-By: PHP/7.2.8\nContent-Type: text/html; charset=UTF-8\n```\n\n## Configure\nApache and PHP default configurations are included in the [etc](/etc) directory. You can override the configurations and these will be copied over into the container.\n\nAlso see [etc/apache2/sites/](/etc/apache2/sites) for adding or editing virtual hosts.\n\n## Resources\n* https://httpd.apache.org/docs/2.4/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falfg%2Fdocker-php-apache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falfg%2Fdocker-php-apache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falfg%2Fdocker-php-apache/lists"}