{"id":15024158,"url":"https://github.com/mstrazds/nginx-php56","last_synced_at":"2026-04-01T19:19:10.114Z","repository":{"id":145899588,"uuid":"34792049","full_name":"mstrazds/nginx-php56","owner":"mstrazds","description":"A Nginx + PHP 5.6 (FPM) base container. Builds upon on the excellent phusion/baseimage-docker container.","archived":false,"fork":false,"pushed_at":"2018-08-10T07:47:45.000Z","size":55,"stargazers_count":6,"open_issues_count":0,"forks_count":12,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-03-28T00:58:00.388Z","etag":null,"topics":["baseimage-docker","docker","nginx","php","php-fpm","php56","phusion","shell"],"latest_commit_sha":null,"homepage":"https://registry.hub.docker.com/u/mstrazds/nginx-php56/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mstrazds.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}},"created_at":"2015-04-29T12:17:39.000Z","updated_at":"2020-07-04T11:17:52.000Z","dependencies_parsed_at":"2023-05-09T14:46:46.073Z","dependency_job_id":null,"html_url":"https://github.com/mstrazds/nginx-php56","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"purl":"pkg:github/mstrazds/nginx-php56","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mstrazds%2Fnginx-php56","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mstrazds%2Fnginx-php56/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mstrazds%2Fnginx-php56/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mstrazds%2Fnginx-php56/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mstrazds","download_url":"https://codeload.github.com/mstrazds/nginx-php56/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mstrazds%2Fnginx-php56/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31291119,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"last_error":"SSL_read: 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":["baseimage-docker","docker","nginx","php","php-fpm","php56","phusion","shell"],"created_at":"2024-09-24T19:59:52.179Z","updated_at":"2026-04-01T19:19:10.086Z","avatar_url":"https://github.com/mstrazds.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nginx-php56\nA Nginx + PHP 5.6 (FPM) base container. Builds upon on the excellent [phusion/baseimage-docker](https://github.com/phusion/baseimage-docker) container. You can find the docker automated build [here](https://registry.hub.docker.com/u/mstrazds/nginx-php56/).\n\n### Services\nAll services are defined and managed using the phusion/baseimage methodology. Logs are output using syslog and can be accessed using ``docker logs {container}``.\n\n* Nginx\n* PHP-FPM (5.6)\n* NTPD\n* New Relic APM\n\n### Default Settings\nThe container sets up a www root folder in the following location:\n\n``/var/www/public``\n\nAs a final task a demo index.php is copied to this location.\n\n### Web Root\nThe following folder is specified as the default root web folder:\n\n``/var/www/public``\n\nNote that the ``/var/www/public`` is the root folder for serving PHP files for your web server. The following ports are exposed:\n\n* 80 (HTTP)\n* 443 (HTTPS/SSL)\n\n### SSL Self Signed Certificate\nThe image generates a self-signed certificate for each container within the folder:\n\n``/etc/nginx/certs.d/``\n\nDuring build the ``build/default`` file is used to copy and configure nginx default settings. This includes a cipher suite for legacy browser (IE8+) support. See: [https://cipherli.st/](https://cipherli.st/)\n\n### New Relic APM\nInstalls New Relic APM daemon on [container startup](https://github.com/phusion/baseimage-docker#running_startup_scripts) to monitor the php application within the image. See [this tutorial](http://code.tutsplus.com/tutorials/how-to-monitor-docker-based-applications-using-new-relic--cms-24891) for more information.\n\nThe following environment variables are required in order to complete the New Relic configuration:\n\n* ``NR_INSTALL_KEY`` 134adf09dsfblahsomething\n* ``NR_APP_NAME`` \"Docker PHP App Name\"\n\nIf the ``NR_INSTALL_KEY`` New Relic will not be setup. By default this will prevent monitoring as the key is invalid until entered on startup. Eg:\n\n``docker run --name nginx -e NR_INSTALL_KEY=\"134adf09dsfblahsomething\" -e NR_APP_NAME=\"nginx-test\" -p 80:80 -p 443:443 -d mstrazds/nginx-php56:latest``\n\n### Build Folder (within repo)\nContains nginx config files as well as php-fpm settings. Also include setup.sh file that offloads tasks from the Dockerfile to reduce layers.\n\n### Databases\nThis image supports mysql and postgres.\n\n### Notes\nNote that PHP-FPM has been configured to pass through environment variables when starting the container using the ``clear_env = no`` flag within the ``/etc/php5/fpm/pool.d/www.conf`` file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmstrazds%2Fnginx-php56","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmstrazds%2Fnginx-php56","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmstrazds%2Fnginx-php56/lists"}