{"id":18248064,"url":"https://github.com/nanoninja/php-fpm","last_synced_at":"2025-04-04T15:32:02.674Z","repository":{"id":11712070,"uuid":"70340622","full_name":"nanoninja/php-fpm","owner":"nanoninja","description":"Docker container to install and run PHP-FPM","archived":false,"fork":false,"pushed_at":"2024-03-18T11:27:55.000Z","size":54,"stargazers_count":96,"open_issues_count":7,"forks_count":72,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-20T14:56:10.381Z","etag":null,"topics":["docker","dockerfile","image","php","php-fpm"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/nanoninja.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-10-08T15:33:43.000Z","updated_at":"2024-05-03T21:21:54.000Z","dependencies_parsed_at":"2023-01-11T18:10:15.792Z","dependency_job_id":null,"html_url":"https://github.com/nanoninja/php-fpm","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/nanoninja%2Fphp-fpm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanoninja%2Fphp-fpm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanoninja%2Fphp-fpm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanoninja%2Fphp-fpm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nanoninja","download_url":"https://codeload.github.com/nanoninja/php-fpm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247202973,"owners_count":20900884,"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":["docker","dockerfile","image","php","php-fpm"],"created_at":"2024-11-05T09:35:27.194Z","updated_at":"2025-04-04T15:31:57.665Z","avatar_url":"https://github.com/nanoninja.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP-FPM Docker Image\n\nDocker container to install and run [PHP-FPM](https://php-fpm.org/).\n\n[![Build Status](https://travis-ci.org/nanoninja/php-fpm.svg?branch=master)](https://travis-ci.org/nanoninja/php-fpm) [![Automated Build](https://img.shields.io/docker/automated/jrottenberg/ffmpeg.svg)](https://hub.docker.com/r/nanoninja/php-fpm/builds/)\n\n## Supported branches and respective Dockerfile links\n\n- master [Dockerfile](https://github.com/nanoninja/php-fpm/blob/master/Dockerfile)\n- 8.1 [Dockerfile](https://github.com/nanoninja/php-fpm/blob/8.1/Dockerfile)\n- 8.0 [Dockerfile](https://github.com/nanoninja/php-fpm/blob/8.0/Dockerfile)\n- 7.4.10 [Dockerfile](https://github.com/nanoninja/php-fpm/blob/7.4.10/Dockerfile)\n- 7.4.4 [Dockerfile](https://github.com/nanoninja/php-fpm/blob/7.4.4/Dockerfile)\n- 7.4.2 [Dockerfile](https://github.com/nanoninja/php-fpm/blob/7.4.2/Dockerfile)\n- 7.4.0 [Dockerfile](https://github.com/nanoninja/php-fpm/blob/7.4.0/Dockerfile)\n- 7.3.10 [Dockerfile](https://github.com/nanoninja/php-fpm/blob/7.3.10/Dockerfile)\n- 7.3.9 [Dockerfile](https://github.com/nanoninja/php-fpm/blob/7.3.9/Dockerfile)\n- 7.3.8 [Dockerfile](https://github.com/nanoninja/php-fpm/blob/7.3.8/Dockerfile)\n- 7.3.7 [Dockerfile](https://github.com/nanoninja/php-fpm/blob/7.3.7/Dockerfile)\n- 7.3.6 [Dockerfile](https://github.com/nanoninja/php-fpm/blob/7.3.6/Dockerfile)\n- 7.3.3 [Dockerfile](https://github.com/nanoninja/php-fpm/blob/7.3.3/Dockerfile)\n- 7.3.2 [Dockerfile](https://github.com/nanoninja/php-fpm/blob/7.3.2/Dockerfile)\n- 7.2.15 [Dockerfile](https://github.com/nanoninja/php-fpm/blob/7.2.15/Dockerfile)\n- 7.2.13 [Dockerfile](https://github.com/nanoninja/php-fpm/blob/7.2.13/Dockerfile)\n- 7.2.2 [Dockerfile](https://github.com/nanoninja/php-fpm/blob/7.2.2/Dockerfile)\n- 7.1.14 [Dockerfile](https://github.com/nanoninja/php-fpm/blob/7.1.14/Dockerfile)\n- 5.6.40 [Dockerfile](https://github.com/nanoninja/php-fpm/blob/5.6.40/Dockerfile)\n- 5.6.32 [Dockerfile](https://github.com/nanoninja/php-fpm/blob/5.6.32/Dockerfile)\n\n## What is PHP-FPM\n\nPHP-FPM (FastCGI Process Manager) is an alternative FastCGI implementation for PHP.\n\n## Getting image\n\n```sh\nsudo docker image pull nanoninja/php-fpm\n```\n\n## Running your PHP script\n\nRun the PHP-FPM image, mounting a directory from your host.\n\n```sh\nsudo docker container run --rm -v $(pwd):/var/www/html nanoninja/php-fpm php index.php\n```\n\n## Running as server\n\n```sh\nsudo docker container run --rm --name phpfpm -v $(pwd):/var/www/html -p 3000:3000 nanoninja/php-fpm php -S=\"0.0.0.0:3000\" -t=\"/var/www/html\"\n```\n\nor using [Docker Compose](https://docs.docker.com/compose/) :\n\n```sh\nversion: '3'\nservices:\n  phpfpm:\n    container_name: phpfpm\n    image: nanoninja/php-fpm\n    ports:\n      - 3000:3000\n    volumes:\n      - /path/to/your/app:/var/www/html\n    command: php -S=\"0.0.0.0:3000\" -t=\"/var/www/html\"\n```\n\n### Logging\n\n```sh\nsudo docker container logs phpfpm\n```\n\n## Installed extensions\n\n```bash\nsudo docker container run --rm nanoninja/php-fpm php -m\n```\n\n### PHP Modules\n\n- bcmath\n- bz2\n- calendar\n- Core\n- ctype\n- curl\n- date\n- dom\n- exif\n- fileinfo\n- filter\n- ftp\n- gd\n- gettext\n- hash\n- iconv\n- imagick\n- imap\n- intl\n- json\n- ldap\n- libxml\n- mbstring\n- memcached\n- mongodb\n- mysqli\n- mysqlnd\n- openssl\n- pcre\n- PDO\n- pdo_mysql\n- pdo_pgsql\n- pdo_sqlite\n- pgsql\n- Phar\n- posix\n- readline\n- redis\n- Reflection\n- session\n- SimpleXML\n- soap\n- sockets\n- sodium\n- SPL\n- sqlite3\n- standard\n- tokenizer\n- xdebug\n- xml\n- xmlreader\n- xmlrpc\n- xmlwriter\n- xsl\n- Zend OPcache\n- zip\n- zlib\n\n### Zend Modules\n\n- Xdebug\n- Zend OPcache","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnanoninja%2Fphp-fpm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnanoninja%2Fphp-fpm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnanoninja%2Fphp-fpm/lists"}