Skip to content

vronic/docker-php5-fpm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#How to use this image:#

docker run --name some-php5-fpm --link some-nginx:nginx -d vronic/php5-fpm

The following environment variables are also honored for configuring your PHP-FPM instance:

  • -e PHP5_FPM_MEMORY_LIMIT=... (defaults to “128M”)
  • -e PHP5_FPM_LOG_LEVEL=... (defaults to notice)
    Possible Values: alert, error, warning, notice, debug
  • -e PHP5_FPM_LISTEN=... (defaults to /var/run/php5-fpm.sock)
    Alternative value: 127.0.0.1:9000

To use php5-fpm with unix sockets you may run the container like this:

docker run --name some-php5-fpm --volumes-from some-nginx -d vronic/php5-fpm

For the second method to work you must make sure you first run your nginx instance like this:

docker run --name some-nginx -v /var/run -d nginx

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages