updated php state

This commit is contained in:
Paul 2020-10-25 16:37:33 +01:00
parent 4c61cfad94
commit 5d7cfd0011
2 changed files with 81 additions and 103 deletions

View File

@ -1,6 +1,6 @@
--- ---
{%- from "php/map.jinja" import php with context %} {%- from "php/map.jinja" import php with context %}
{%- if php.fpm.config != None %} {%- if php.config != None %}
php-config: php-config:
ini.options_present: ini.options_present:
- name: {{ php.config_file }} - name: {{ php.config_file }}
@ -26,4 +26,4 @@ php-extension-enable-{{ extension }}:
- name: phpenmod {{ extension }} - name: phpenmod {{ extension }}
- watch_in: - watch_in:
- service: php-fpm-service - service: php-fpm-service
{%- endfor %} {%- endfor %}

View File

@ -32,8 +32,8 @@ php:
expose_php: 'Off' expose_php: 'Off'
max_execution_time: 30 max_execution_time: 30
max_input_time: 60 max_input_time: 60
memory_limit: 256M memory_limit: '256M'
error_reporting: E_ALL & ~E_DEPRECATED & ~E_STRICT error_reporting: 'E_ALL & ~E_DEPRECATED & ~E_STRICT'
display_errors: 'Off' display_errors: 'Off'
display_startup_errors: 'Off' display_startup_errors: 'Off'
log_errors: 'On' log_errors: 'On'
@ -42,112 +42,90 @@ php:
ignore_repeated_source: 'Off' ignore_repeated_source: 'Off'
report_memleaks: 'On' report_memleaks: 'On'
html_errors: 'On' html_errors: 'On'
variables_order: "GPCS" variables_order: 'GPCS'
request_order: "GP" request_order: '"GP"'
register_argc_argv: 'Off' register_argc_argv: 'Off'
auto_globals_jit: 'On' auto_globals_jit: 'On'
post_max_size: 8M post_max_size: '8M'
default_mimetype: "text/html" default_mimetype: '"text/html"'
default_charset: "UTF-8" default_charset: '"UTF-8"'
enable_dl: 'Off' enable_dl: 'Off'
file_uploads: 'On' file_uploads: 'On'
upload_max_filesize: 2M upload_max_filesize: '2M'
max_file_uploads: 20 max_file_uploads: 20
allow_url_fopen: 'On' allow_url_fopen: 'On'
allow_url_include: 'Off' allow_url_include: 'Off'
default_socket_timeout: 60 default_socket_timeout: 60
CLI Server: CLI Server:
cli_server.color: 'On' cli_server.color: 'On'
Date: mail function:
filter: SMTP: 'localhost'
iconv: smtp_port: 25
imap: mail.add_x_header: 'Off'
intl: ODBC:
sqlite3: odbc.allow_persistent: 'On'
Pcre: odbc.check_persistent: 'On'
Pdo: odbc.max_persistent: '-1'
Pdo_mysql: odbc.max_links: '-1'
Phar: odbc.defaultlrl: 4096
mail function: odbc.defaultbinmode: 1
SMTP: localhost Interbase:
smtp_port: 25 ibase.allow_persistent: 1
mail.add_x_header: 'Off' ibase.max_persistent: '-1'
ODBC: ibase.max_links: '-1'
odbc.allow_persistent: 'On' ibase.timestampformat: '"%Y-%m-%d %H:%M:%S"'
odbc.check_persistent: 'On' ibase.dateformat: '"%Y-%m-%d"'
odbc.max_persistent: -1 ibase.timeformat: '"%H:%M:%S"'
odbc.max_links: -1 MySQLi:
odbc.defaultlrl: 4096 mysqli.max_persistent: '-1'
odbc.defaultbinmode: 1 mysqli.allow_persistent: 'On'
Interbase: mysqli.max_links: '-1'
ibase.allow_persistent: 1 mysqli.default_port: 3306
ibase.max_persistent: -1 mysqli.reconnect: 'Off'
ibase.max_links: -1 mysqlnd:
ibase.timestampformat: "%Y-%m-%d %H:%M:%S" mysqlnd.collect_statistics: 'On'
ibase.dateformat: "%Y-%m-%d" mysqlnd.collect_memory_statistics: 'Off'
ibase.timeformat: "%H:%M:%S" PostgreSQL:
MySQLi: pgsql.allow_persistent: 'On'
mysqli.max_persistent: -1 pgsql.auto_reset_persistent: 'Off'
mysqli.allow_persistent: 'On' pgsql.max_persistent: '-1'
mysqli.max_links: -1 pgsql.max_links: '-1'
mysqli.default_port: 3306 pgsql.ignore_notice: 0
mysqli.reconnect: 'Off' pgsql.log_notice: 0
mysqlnd: bcmath:
mysqlnd.collect_statistics: 'On' bcmath.scale: 0
mysqlnd.collect_memory_statistics: 'Off' Session:
OCI8: session.save_handler: 'files'
PostgreSQL: session.use_strict_mode: 0
pgsql.allow_persistent: 'On' session.use_cookies: 1
pgsql.auto_reset_persistent: 'Off' session.use_only_cookies: 1
pgsql.max_persistent: -1 session.name: 'PHPSESSID'
pgsql.max_links: -1 session.auto_start: 0
pgsql.ignore_notice: 0 session.cookie_lifetime: 0
pgsql.log_notice: 0 session.cookie_path: '/'
bcmath: session.serialize_handler: 'php'
bcmath.scale: 0 session.gc_probability: 0
browscap: session.gc_divisor: 1000
Session: session.gc_maxlifetime: 1440
session.save_handler: files session.cache_limiter: 'nocache'
session.use_strict_mode: 0 session.cache_expire: 180
session.use_cookies: 1 session.use_trans_sid: 0
session.use_only_cookies: 1 session.sid_length: 26
session.name: PHPSESSID session.trans_sid_tags: '"a=href,area=href,frame=src,form="'
session.auto_start: 0 session.sid_bits_per_character: 5
session.cookie_lifetime: 0 Assertion:
session.cookie_path: / zend.assertions: '-1'
session.serialize_handler: php Tidy:
session.gc_probability: 0 tidy.clean_output: 'Off'
session.gc_divisor: 1000 soap:
session.gc_maxlifetime: 1440 soap.wsdl_cache_enabled: 1
session.cache_limiter: nocache soap.wsdl_cache_dir: '/tmp'
session.cache_expire: 180 soap.wsdl_cache_ttl: 86400
session.use_trans_sid: 0 soap.wsdl_cache_limit: 5
session.sid_length: 26 ldap:
session.trans_sid_tags: "'a=href,area=href,frame=src,form='" ldap.max_links: '-1'
session.sid_bits_per_character: 5
Assertion:
zend.assertions: -1
COM:
mbstring:
gd:
exif:
Tidy:
tidy.clean_output: 'Off'
soap:
soap.wsdl_cache_enabled: 1
soap.wsdl_cache_dir: "/tmp"
soap.wsdl_cache_ttl: 86400
soap.wsdl_cache_limit: 5
sysvshm:
ldap:
ldap.max_links: -1
dba:
opcache:
curl:
openssl:
fpm: fpm:
config_file: /etc/php/7.3/fpm/php-fpm.conf config_file: '/etc/php/7.3/fpm/php-fpm.conf'
config: config: {}
socket: /var/run/php/php7.3-fpm.sock socket: '/var/run/php/php7.3-fpm.sock'