# default settings for PHP5 / Apache2
#
[php]
  memory_limit		128M
  max_execution_time	60
  max_input_time	60
  post_max_size		8M

  short_open_tag	Off
  expose_php		Off
  date_timezone		Europe/Rome

  file_uploads		On	# On/Off
  upload_max_filesize	32M
  upload_tmp_dir	::path.tmpdir::/phpupload
  -output_buffering	1	# must be 0 for uploads >200M

  # placeholders for free custom settings
  #
  custom_settings		# for apache2
  cli_custom_settings		# for cli


[apache]
  # info inviate nelle risposte, dal massimo al minimo
  # (Full, OS, Minor, Minimal, Major, Prod)
  #
  server_tokens		Prod

  servername		::network.hostname::.::network.domain::
  server_admin		::contact.webmaster.email::

  port			80
  ssl_port		443
  extra_port_lines
  extra_ssl_port_lines

  user			www-data
  group			www-data
  usergroup		www-data:www-data

  # globals
  maintainer-images	/usr/share/images/ku
  menu-images		/usr/share/images/ku-menu
  customer-images	::path.wwwdir::/images_::customer.shortname::
  local-images		::path.wwwdir::/images_local

  allow_sysdoc		true

  # remove SSLv3 protocol, goodbye IE6!
  ssl_protocols		-SSLv3

  mpm_type		prefork		# >2.4
  prev_mpm_type

  confdir		/etc/apache2/conf.d



# ----------------------------------------------
# mpm settings
# ----------------------------------------------

# compat with <2.4 installations
[apache]
  start_servers		2
  min_spare_servers	1
  max_spare_servers	5
  max_clients		32


[apache_prefork]
  start_servers			::apache.start_servers::
  min_spare_servers		::apache.min_spare_servers::
  max_spare_servers		::apache.max_spare_servers::	# debian default: 10
  max_request_workers		::apache.max_clients::		# debian default: 150
  max_requests_per_child	0

[apache_event]
  start_servers			2
  min_spare_threads		25
  max_spare_threads		75
  thread_limit			64
  threads_per_child		25
  max_request_workers		150
  max_requests_per_child	0

[apache_worker]
  start_servers			2
  min_spare_threads		25
  max_spare_threads		75
  thread_limit			64
  threads_per_child		25
  max_request_workers		150
  max_requests_per_child	0

