Sign inSign up

kcdns/php-fpm54

By kcdns

•Updated about 6 years ago

Image
0

163

kcdns/php-fpm54 repository overview

FROM php:5.4-fpm

add ldap redis opcache pcntl phpcomposer

phpetc:

/usr/local/etc

phpfpm:

/usr/local/etc/php-fpm.conf

phpini:

/usr/local/etc/php.ini

If you bind /usr/local/etc to an empty folder, the etc file is automatically created

⁠============================================ Add default configuration

phpini

disable_functions = assert,shell_exec,exec,passthru,system,passthru,popen,proc_open,get_current_user,getmyuid,getmygid,posix_ctermid,posix_get_last_error,posix_getcwd, posix_getegid,posix_geteuid,posix_getgid, posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid, posix_getppid,posix_getpwnam,posix_getpwuid, posix_getrlimit, posix_getsid,posix_getuid,posix_isatty, posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid, posix_setpgid,posix_setsid,posix_setuid,posix_strerror,posix_times,posix_ttyname,posix_uname,disk_total_space, disk_free_space,gethostbyname,curl_version,get_cfg_var

date.timezone = PRC

expose_php = Off

error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT

display_errors = Off

============================================

phpfpm:

log_level = notice

ps:the log will be displayed on the nginx server

[www]

listen = 9000

user = nobody

group = nobody

slowlog = /var/log/php/${HOSTNAME}.$pool.slow.log

Tag summary

Content type

Image

Digest

Size

182.5 MB

Last updated

about 6 years ago

docker pull kcdns/php-fpm54:base-4