Code Monkey home page Code Monkey logo

docker-php-fpm's Introduction

php-fpm

About

PHP-FPM Docker Image by AlleoTech Ltd.

Usage

docker run -d --name php-fpm alleotech/php-fpm

Configuration via ENV

It is possible to adjust few configuration parameters during the start of the image via ENV (-e var=value). Keep in mind that settings are applied with sed regexp and thus should be escaped accordingly (see PHP_ERROR_REPORTING as an example).

  • PHP_MEMORY_LIMIT: php.ini memory_limit param (default: 128M)
  • PHP_ERROR_REPORTING: php.ini error_reporing (default: E_ALL \\& ~E_DEPRECATED \\& ~E_STRICT)
  • PHP_POST_MAX_SIZE: php.ini php_post_max_size (default: 8M)
  • PHP_UPLOAD_MAX_FILESIZE: php.ini upload_max_filesize (default: 8M)
  • PHP_MAX_EXECUTION_TIME: php.ini max_execution_time (default: 30)
  • PHP_SESSION_SAVE_PATH: php.ini session.save_path (default: /var/lib/php/session)
  • FPM_MAX_CHILDREN: php-fpm.d/www.conf pm.max_children (default: 5)

Notes

  • user = nobody
  • pm = static
  • port = 9000
  • listen and allowed clients = 0.0.0.0

docker-php-fpm's People

Contributors

alex-mamchenkov avatar dmitri-alleo avatar georgeconstantinou avatar mamchenkov avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.