This thread is about best-fit default settings for all PHP container that suits the majority of the community.
It is a continuation from this GitHub issue and brought to the forum for better discussions and visibility.
If you want any additional default settings or change existing ones, just reply to this thread and we can ensure it is useful to everybody.
I will try to keep the settings as up-to-date as possible, however I also provide direct links to currently effective settings (which should be more reliable).
[global] log_level = notice [www] request_terminate_timeout = 120s listen.backlog = 1024 pm = ondemand pm.max_children = 50 pm.start_servers = 4 pm.min_spare_servers = 2 pm.max_spare_servers = 6 pm.max_requests = 500 pm.process_idle_timeout = 10s
memory_limit = 512M max_execution_time = 120 max_input_time = 120 post_max_size = 72M upload_max_filesize = 64M max_file_uploads = 20 variables_order = EGPCS max_input_vars = 8000 max_input_nesting_level = 64 error_reporting = E_ALL | E_NOTICE | E_STRICT | E_DEPRECATED xmlrpc_errors = Off report_memleaks = On display_errors = On display_startup_errors = On track_errors = On log_errors = On html_errors = On xdebug.default_enable = Off xdebug.profiler_enable = Off xdebug.remote_enable = Off xdebug.remote_autostart = Off