Skip to content

Instantly share code, notes, and snippets.

@doublecompile
Last active January 16, 2018 21:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save doublecompile/e3b3d77a171a98adb9f0f6db2d8f6059 to your computer and use it in GitHub Desktop.
Save doublecompile/e3b3d77a171a98adb9f0f6db2d8f6059 to your computer and use it in GitHub Desktop.
Typical PHP FPM ini
[PHP]
engine = On
short_open_tag = Off
output_buffering = Off
zlib.output_compression = Off
default_charset = "UTF-8"
disable_functions = pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority
zend.enable_gc = On
max_execution_time = 240
memory_limit = 128M
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
display_errors = Off
display_startup_errors = Off
log_errors = On
error_log = syslog
variables_order = "EGPCS"
request_order = "GP"
register_argc_argv = Off
post_max_size = 40M
file_uploads = On
upload_max_filesize = 40M
max_file_uploads = 20
[Date]
date.timezone = "UTC"
[mail function]
mail.add_x_header = Off
[Session]
session.save_handler = memcached
session.save_path = "localhost:11211"
session.gc_probability = 0
session.hash_bits_per_character = 5
[memcached]
memcached.sess_consistent_hash=1
memcached.sess_number_of_replicas=1
memcached.sess_binary=1
memcached.sess_prefix="memc.sess.key."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment