Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/komputronika/php-fpm
Docker container to install and run PHP-FPM.
https://github.com/komputronika/php-fpm
docker linux php-fpm
Last synced: 2 days ago
JSON representation
Docker container to install and run PHP-FPM.
- Host: GitHub
- URL: https://github.com/komputronika/php-fpm
- Owner: komputronika
- Created: 2017-09-09T12:38:48.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-09-10T18:51:26.000Z (about 7 years ago)
- Last Synced: 2024-01-18T13:07:56.850Z (10 months ago)
- Topics: docker, linux, php-fpm
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## PHP-FPM Docker Image ###
Docker container to install and run PHP-FPM.
### What is PHP-FPM ? ###
PHP-FPM (FastCGI Process Manager) is an alternative FastCGI implementation for PHP.
### Getting image ###
docker pull komputronika/php-fpm### Basic usage ###
docker run -v /path/to/your/app:/var/www/html -d komputronika/php-fpm### Running your PHP script ###
Run the PHP-FPM image, mounting a directory from your host.
docker run -dit --name phpfpm -v /path/to/your/app:/var/www/html komputronika/php-fpm php index.php
or using Docker Compose:
version: '2'
services:
php-fpm:
container_name: php-fpm
image: komputronika/php-fpm
entrypoint: php index.php
volumes:
- /path/to/your/app:/var/www/html### Installed extensions ###
bz2
iconv
mcrypt
mbstring
pdo_mysql
mysqli
zip