PHP-FPM 5.6

PHP-FPM 5.6 server running inside Docker container using Alpine Linux with S6 Overlay init system.

  • Free software: MIT license
  • Documentation: https://github.com/daspanel/php-fpm-5.6

Daspanel environment variables

Variable Optional Example Value Purpose
DASPANEL_GUUID yes ksdf09832klsdfkjsdlk UUID used in Daspanel system to identify a unique instance of data. If you don't provide one Daspanel generate it using Getuuid API
DASPANEL_MASTER_PASSWORD yes SomeGood#%@Passwd123 Password to be used in the various Daspanel services. Automatically generated if you do not provide one.
DASPANEL_MASTER_EMAIL no your@email.com Email of the owner of Daspanel instance. It can be used for receiving notifications from the system. The Docker container will not run if it is not informed.

You can find the value of variables automatically generated by examining the container log after it starts. Or looking at the output of the console where you run your docker.

This container-only environment variables

ENV PHP_MEMORY_LIMIT 1G
ENV PHP_POST_MAX_SIZE 2G
ENV PHP_UPLOAD_MAX_FILESIZE 2G
ENV PHP_MAX_EXECUTION_TIME 3600
ENV PHP_MAX_INPUT_TIME 3600
ENV PHP_DATE_TIMEZONE UTC
ENV PHP_LOG_LEVEL warning
ENV PHP_MAX_CHILDREN 75
ENV PHP_MAX_REQUESTS 500
ENV PHP_PROCESS_IDLE_TIMEOUT 10s

see rootfs/etc/cont-init.d/71-php5.4-fpm for more info

Ports

  • 9005

How to use

Get

docker pull daspanel/php-fpm-5.6:latest

Run

docker run -e DASPANEL_MASTER_EMAIL=my@email.com daspanel/php-fpm-5.6:latest

Run with interactive shell

docker run -it -e DASPANEL_MASTER_EMAIL=my@email.com daspanel/php-fpm-5.6:latest /bin/sh

Features

  • Alpine Linux with S6 overlay
  • PHP-FPM 5.6

WIP

Wordk in progress.

Credits