{"id":16718156,"url":"https://github.com/bertoni/dockerfile-apache-php","last_synced_at":"2025-10-29T00:37:27.587Z","repository":{"id":67764818,"uuid":"49169472","full_name":"bertoni/dockerfile-apache-php","owner":"bertoni","description":null,"archived":false,"fork":false,"pushed_at":"2016-02-23T01:46:46.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-15T10:13:18.479Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bertoni.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}},"created_at":"2016-01-07T00:04:50.000Z","updated_at":"2016-02-21T19:44:30.000Z","dependencies_parsed_at":"2023-05-06T19:46:30.221Z","dependency_job_id":null,"html_url":"https://github.com/bertoni/dockerfile-apache-php","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bertoni/dockerfile-apache-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertoni%2Fdockerfile-apache-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertoni%2Fdockerfile-apache-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertoni%2Fdockerfile-apache-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertoni%2Fdockerfile-apache-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bertoni","download_url":"https://codeload.github.com/bertoni/dockerfile-apache-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertoni%2Fdockerfile-apache-php/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259910054,"owners_count":22930671,"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-10-12T21:35:28.907Z","updated_at":"2025-10-29T00:37:27.534Z","avatar_url":"https://github.com/bertoni.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Minimal environment for CentOs + Apache + PHP\n=============================================\n\nUse with Docker http://www.docker.io\n\nThis Dockerfile provide an environment Centos + Apache + PHP for to be used in the developing environment, for to be faster and more productive create environments of develop.\nQuestions as security and performance were not thought.\n\n\nWas used the following versions:\n\n\tCentOS release 6.7 (Final)\n\tApache/2.2.15\n\tPHP 5.6.16\n\t\n\nTo construct the image\n\n\tcd \u003cpath/Dockerfile/downloaded\u003e\n    docker build -t \u003cname_of_your_choice\u003e .\n\n\nTo run the container\n\n    docker run -i -t --name app -p 80:80 -v \u003cpath_with_conf\u003e:/tmp/external -v \u003cpath_your_project1_in_your_machine\u003e:/var/www/html/\u003cname_your_project1\u003e \u003cname_of_your_choice\u003e\n\nTo exit of the container press Ctrl+p+q\n\nTo enter in the container terminal\n\n    List the containers\n    docker ps -a\n    \n    Enter in the mysql conatiner\n    docker exec -i -t \u003ccontainer_id\u003e bash\n\nObs:\n\n:: Remember of give execution permission for the file run.sh [chmod a+x /run.sh]\n\n:: Put your file configurations in the same folder of the file run.sh. The files names need to be the same of the projects configurated in run.sh\n\n:: Change the file run.sh and include the names of the projects and your alias to be used\n\n:: Didn't forget to include the urls in your hosts\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbertoni%2Fdockerfile-apache-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbertoni%2Fdockerfile-apache-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbertoni%2Fdockerfile-apache-php/lists"}