A Docker container with PHP-FPM 5.6 based on php:5.6-fpm-alpine.
100K+
A Docker container with PHP-FPM 5.6 based on php:5.6-fpm-alpine.
PHP-FPM is running with uid/gid 1008.
Alpine 3.4
PHP-FPM 5.6
curl
gd
geoip (pecl)
iconv
imagick (pecl)
imap
intl
ldap
memcache (pecl)
mcrypt
mysqli
opcache
pdo
pdo_mysql
redis (pecl)
soap
xdebug (pecl)
xsl
A custom php.ini file is added to the image (/usr/local/etc/php/php.ini). If you want/need, you can either overwrite it with a mount or rebuild the image with an adapted php.ini.
You need to define a host directory with php files (usually document root) which will be mounted into the container. You need to set the mount point to the same directory as on host computer, as otherwise PHP-FPM won't find the files. Please note, that mounting a php.ini file is optional and not required.
docker run -d \
-v SOME_HOST_DIRECTORY_WITH_PHP_FILES:SAME_DIRECTORY_AS_ON_HOST \
-v PATH_TO_PHP_INI_FILE:/usr/local/etc/php/php.ini \
--name cs2php56 \
-p 9000:9000 \
cs2ag/php5.6-devtest
The following ports can be exposed in order to use Varnish on container host:
9000
PHP-FPM port
Content type
Image
Digest
Size
151.2 MB
Last updated
about 9 years ago
docker pull cs2ag/php5.6-devtest