What is the configuration of php-fpm on servers ?

By default, the version of php-fpm installed on server is 7.3. You can change the php version following this documentation.

Here is the configuration of php-fpm.conf file

Parameter Value
error_log
/var/log/#{php_fpm_name}.log
log_level
notice
emergency_restart_threshold
0
emergency_restart_interval
0
daemonize
yes

Here is the configuration of pool.conf file:

Parameter Value
process_manager
ondemand
max_children
50
start_servers
5
min_spare_servers
5
max_spare_servers
35
max_requests
0
request_terminate_timeout
0
catch_workers_output
no
security_limit_extensions
.php

Here is the list of installed php packages:

  • php-mysql
  • php-pgsql
  • php[version]-xml
  • php[version]-intl
  • php[version]-common
  • php[version]-xmlrpc
  • php[version]-gd
  • php[version]-cli
  • php[version]-mcrypt
  • php[version]-pecl-apcu
  • php[version]
  • php[version]-devel
  • php[version]-opcache
  • php[version]-mbstring
  • php[version]-bcmath
  • php[version]-soap
  • php[version]-mysqlnd
  • If the version is 70: php70-zip
  • If the version is differrent from 71w (7.1w): php[version]-pecl-memcache
  • If the version is 72php72-mcrypt:
  • If the version is 73:php73-mcryptphp73-pecl-apcu, php73-pecl-memcache 
  • If the version is 54:php54-pecl-apcuphp54-opcache
Was this article helpful?
0 out of 0 found this helpful