This commit is contained in:
2026-05-20 15:23:05 +03:00
commit 43c0739dfa
703 changed files with 61692 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
error_reporting = E_ALL & ~E_NOTICE & ~E_WARNING
enable_dl = Off
short_open_tag = On
allow_url_fopen = On
max_input_vars = 10000
max_file_uploads = 100
max_execution_time = 300
max_input_time = 60
output_buffering = 4096
request_order = GP
variables_order = GPCS
post_max_size = 1024M
upload_max_filesize = 1024M
pcre.backtrack_limit = 1000000
pcre.recursion_limit = 14000
realpath_cache_size = 4096k
mysql.default_socket = /var/lib/mysqld/mysqld.sock
mysqli.default_socket = /var/lib/mysqld/mysqld.sock
default_charset = UTF-8
; session.entropy_length = 128
; session.entropy_file = /dev/urandom
; session.cookie_httponly = On
; sendmail_path = /usr/sbin/sendmail -t -i
sendmail_path = msmtp -t -i
memory_limit = 512M
mail.add_x_header = Off
expose_php = Off
display_errors = Off
session.name = BITRIX_PHPSESSID
session.cookie_samesite = "Lax"
; session.save_path = "/php_sessions"
; upload_tmp_dir = "/php_uploads"
@@ -0,0 +1,2 @@
; https://github.com/docker-library/php/issues/878#issuecomment-938595965
fastcgi.logging = Off
@@ -0,0 +1 @@
extension=amqp.so
@@ -0,0 +1,62 @@
; Enable APCu extension module
extension=apcu.so
;
; This can be set to 0 to disable APCu
; apc.enabled=1
;
; Setting this enables APCu for the CLI version of PHP (Mostly for testing and debugging).
;apc.enable_cli=0
;
; Sets the path to text files containing caches to load from disk upon
; initialization of APCu. preload_path should be a directory where each
; file follows $key.data where $key should be used as the entry name
; and the contents of the file contains serialized data to use as the value
; of the entry.
;apc.preload_path=
;
; The size of each shared memory segment, with M/G suffixe
;apc.shm_size=32M
;
; The number of seconds a cache entry is allowed to idle in a slot in case
; this cache entry slot is needed by another entry.
;apc.ttl=0
;
; The number of seconds that a cache entry may remain on the
; garbage-collection list.
;apc.gc_ttl=3600
;
; If you begin to get low on resources, an expunge of the cache
; is performed if it is less than half full. This is not always
; a suitable way of determining if an expunge of the cache
; should be per apc.smart allows you to set a runtime configuration
; value which is used to determine if an expunge should be run
; if (available_size < apc.smart * requested_size)
;apc.smart=0
;
; A "hint" about the number variables expected in the cache.
; Set to zero or omit if you are not sure;
;apc.entries_hint=4096
;
; The mktemp-style file_mask to pass to the mmap module
; apc.mmap_file_mask=/tmp/apc.XXXXXX
;
; On very busy servers whenever you start the server or
; modify files you can create a race of many processes
; all trying to cache the same data at the same time.
; By default, APCu attempts to prevent "slamming" of a key.
; A key is considered "slammed" if it was the last key set,
; and a context other than the current one set it ( ie. it
; was set by another process or thread )
;apc.slam_defense=0
;
; Defines which serializer should be used
; Default is the standard PHP serializer.
;apc.serializer='php'
;
; use the SAPI request start time for TTL
;apc.use_request_time=0
;
; Enables APCu handling of signals, such as SIGSEGV, that write core files
; when signaled. APCu will attempt to unmap the shared memory segment in
; order to exclude it from the core file
;apc.coredump_unmap=0
@@ -0,0 +1 @@
extension=bz2.so
@@ -0,0 +1 @@
extension=calendar.so
@@ -0,0 +1 @@
extension=exif.so
@@ -0,0 +1 @@
extension=gd.so
@@ -0,0 +1 @@
extension=gettext.so
@@ -0,0 +1 @@
extension=igbinary.so
@@ -0,0 +1 @@
extension=imagick.so
@@ -0,0 +1 @@
extension=intl.so
@@ -0,0 +1 @@
extension=ldap.so
@@ -0,0 +1 @@
extension=mcrypt.so
@@ -0,0 +1,47 @@
; Enable memcache extension module
extension=memcache.so
;
; Options for the memcache module
; see http://www.php.net/manual/en/memcache.ini.php
;
; Whether to transparently failover to other servers on errors
;memcache.allow_failover=1
; Data will be transferred in chunks of this size
;memcache.chunk_size=32768
; Autocompress large data
;memcache.compress_threshold=20000
; The default TCP port number to use when connecting to the memcached server
;memcache.default_port=11211
; Hash function {crc32, fnv}
;memcache.hash_function=crc32
; Hash strategy {standard, consistent}
;memcache.hash_strategy=consistent
; Defines how many servers to try when setting and getting data.
;memcache.max_failover_attempts=20
; The protocol {ascii, binary} : You need a memcached >= 1.3.0 to use the binary protocol
; The binary protocol results in less traffic and is more efficient
;memcache.protocol=ascii
; Redundancy : When enabled the client sends requests to N servers in parallel
;memcache.redundancy=1
;memcache.session_redundancy=2
; Lock Timeout
;memcache.lock_timeout = 15
;memcache.prefix_host_key = 0
;memcache.prefix_host_key_remove_www = 1
;memcache.prefix_host_key_remove_subdomain = 0
;memcache.prefix_static_key = ''
;
; Options to use the memcache session handler
; RPM note : save_handler and save_path are defined
; for mod_php, in /etc/httpd/conf.d/php.conf
; for php-fpm, in /etc/php-fpm.d/*conf
; Use memcache as a session handler
;session.save_handler=memcache
; Defines a comma separated of server urls to use for session storage
; Only used when memcache.session_save_path is not set
;session.save_path="tcp://localhost:11211?persistent=1&weight=1&timeout=1&retry_interval=15"
;memcache.session_prefix_host_key = 0
;memcache.session_prefix_host_key_remove_www = 1
;memcache.session_prefix_host_key_remove_subdomain = 0
;memcache.session_prefix_static_key = ''
;memcache.session_save_path = ''
@@ -0,0 +1,186 @@
; Enable memcached extension module
extension=memcached.so
; ----- Options to use the memcached session handler
; RPM note : save_handler and save_path are defined
; for mod_php, in /etc/httpd/conf.d/php.conf
; for php-fpm, in /etc/php-fpm.d/*conf
; Use memcache as a session handler
;session.save_handler=memcached
; Defines a comma separated list of server urls to use for session storage
;session.save_path="localhost:11211"
; ----- Configuration options
; https://php.net/manual/en/memcached.configuration.php
[memcached]
; Use session locking
; valid values: On, Off
; the default is On
;memcached.sess_locking = On
; The minimum time, in milliseconds, to wait between session lock attempts.
; This value is double on each lock retry until memcached.sess_lock_wait_max
; is reached, after which any further retries will take sess_lock_wait_max seconds.
; Default is 150.
;memcached.sess_lock_wait_min = 150;
; The maximum time, in milliseconds, to wait between session lock attempts.
; Default is 150.
;memcached.sess_lock_wait_max = 150;
; The number of times to retry locking the session lock, not including the first attempt.
; Default is 5.
;memcached.sess_lock_retries = 5;
; The time, in seconds, before a lock should release itself.
; Setting to 0 results in the default behaviour, which is to
; use PHP's max_execution_time.
;memcached.sess_lock_expire = 0;
; memcached session key prefix
; valid values are strings less than 219 bytes long
; the default value is "memc.sess.key."
;memcached.sess_prefix = "memc.sess.key."
; Whether or not to re-use the memcached connections corresponding to the value(s)
; of session.save_path after the execution of the script ends.
; Don't use this if certain settings (e.g. SASL settings, sess_binary_protocol) would
; be overridden between requests.
; Default is Off.
;memcached.sess_persistent = Off
; memcached session consistent hash mode
; if set to On, consistent hashing (libketama) is used
; for session handling.
; When consistent hashing is used, one can add or remove cache
; node(s) without messing up too much with existing keys
; default is On
;memcached.sess_consistent_hash = On
; memcached session consistent hash type
; if set to 'ketama', consistent hashing (libketama) is used
; for session handling (default for php-memcached 3.x)
; if set to 'ketama_weighted', weighted consistent hashing (libketama) is used
; for session handling (default for php-memcached 2.x)
;memcached.sess_consistent_hash_type = "ketama"
; Allow failed memcached server to automatically be removed.
; Default is Off. (In previous versions, this setting was called memcached.sess_remove_failed)
;memcached.sess_remove_failed_servers = Off
; Set this value to enable the server be removed after
; configured number of continuous times connection failure.
;memcached.sess_server_failure_limit = 0
; Write data to a number of additional memcached servers
; This is "poor man's HA" as libmemcached calls it.
; If this value is positive and sess_remove_failed_servers is enabled
; when a memcached server fails the session will continue to be available
; from a replica. However, if the failed memcache server
; becomes available again it will read the session from there
; which could have old data or no data at all
;memcached.sess_number_of_replicas = 0
; Use the memcached binary protocol for memcached sessions (Instead of the text protocol)
; libmemcached replicas work only if binary mode is enabled.
; However, certain proxies (such as twemproxy) will work only if the binary protocol is disabled.
; In older versions of php-memcached, this setting was Off and was called memcached.sess_binary.
; Default is On with libmemcached 1.0.18 or newer.
; Default is Off with older version.
;memcached.sess_binary_protocol = On
; memcached session replica read randomize
;memcached.sess_randomize_replica_read = Off
; memcached connect timeout value
; In non-blocking mode this changes the value of the timeout
; during socket connection in milliseconds. Specifying -1 means an infinite timeout.
;memcached.sess_connect_timeout = 1000
; Session SASL username
; Both username and password need to be set for SASL to be enabled
;memcached.sess_sasl_username = NULL
; Session SASL password
;memcached.sess_sasl_password = NULL
; Set the compression type
; valid values are: fastlz, zlib
; the default is fastlz
;memcached.compression_type = "fastlz"
; Compression factor
; Store compressed value only if the compression
; factor (saving) exceeds the set limit.
;
; store compressed if:
; plain_len > comp_len * factor
;
; the default value is 1.3 (23% space saving)
;memcached.compression_factor = "1.3"
; The compression threshold
;
; Do not compress serialized values below this threshold.
; the default is 2000 bytes
;memcached.compression_threshold = 2000
; Set the default serializer for new memcached objects.
; valid values are: php, igbinary, json, json_array, msgpack
;
; json - standard php JSON encoding. This serializer
; is fast and compact but only works on UTF-8
; encoded data and does not fully implement
; serializing. See the JSON extension.
; json_array - as json, but decodes into arrays
; php - the standard php serializer
; igbinary - a binary serializer
; msgpack - a cross-language binary serializer
;
; The default is igbinary if available, then msgpack if available, then php otherwise.
;memcached.serializer = "igbinary"
; The amount of retries for failed store commands.
; This mechanism allows transparent fail-over to secondary servers when
; set/increment/decrement/setMulti operations fail on the desired server in a multi-server
; environment.
; the default is 0
;memcached.store_retry_count = 0
; The maximum payload size in bytes that can be written.
; Writing a payload larger than the limit will result in RES_E2BIG error.
; Specifying 0 means no limit is enforced, though the server may still reject with RES_E2BIG.
; Default is 0.
;memcached.item_size_limit = 1000000
; Sets the default for consistent hashing for new connections.
; (To configure consistent hashing for session connections,
; use memcached.sess_consistent_hash instead)
;
; If set to On, consistent hashing (libketama) is used
; for session handling.
; When consistent hashing is used, one can add or remove cache
; node(s) without messing up too much with existing keys
; default is Off
;memcached.default_consistent_hash = Off
; Sets the default memcached protocol for new connections.
; (To configure the memcached protocol for connections used by sessions,
; use memcached.sess_binary_protocol instead)
;
; If set to On, the memcached binary protocol is used by default.
; If set to Off, the memcached text protocol is used.
; Default is Off
;memcached.default_binary_protocol = Off
; Sets the default memcached connection timeout for new connections.
; (To configure the memcached connection timeout for sessions,
; use memcached.sess_connect_timeout instead)
; In non-blocking mode this changes the value of the timeout.
; during socket connection in milliseconds. Specifying -1 means an infinite timeout.
; Specifying 0 means using the memcached library's default connection timeout.
; Default is 0.
;memcached.default_connect_timeout = 0
@@ -0,0 +1 @@
extension=msgpack.so
@@ -0,0 +1 @@
extension=mysqli.so
@@ -0,0 +1,12 @@
zend_extension=opcache.so
opcache.enable=1
opcache.memory_consumption=471
opcache.interned_strings_buffer=117
opcache.max_accelerated_files=100000
opcache.max_wasted_percentage=1
opcache.validate_timestamps=1
opcache.revalidate_freq=0
opcache.fast_shutdown=1
opcache.save_comments=1
opcache.load_comments=1
;opcache.blacklist_filename=/etc/php.d/opcache*.blacklist
@@ -0,0 +1 @@
extension=pdo_mysql.so
@@ -0,0 +1 @@
extension=pdo_pgsql.so
@@ -0,0 +1 @@
extension=pgsql.so
@@ -0,0 +1 @@
extension=pspell.so
@@ -0,0 +1 @@
extension=redis.so
@@ -0,0 +1 @@
extension=shmop.so
@@ -0,0 +1 @@
extension=sockets.so
@@ -0,0 +1 @@
extension=sodium.so
@@ -0,0 +1 @@
; extension=ssh2.so
@@ -0,0 +1 @@
extension=sysvmsg.so
@@ -0,0 +1 @@
extension=sysvsem.so
@@ -0,0 +1 @@
extension=sysvshm.so
@@ -0,0 +1,10 @@
zend_extension=xdebug.so
xdebug.mode=debug
xdebug.start_with_request = trigger
xdebug.client_host=host.docker.internal
xdebug.client_port=9003
xdebug.idekey=PHPSTORM
xdebug.discover_client_host = 1
;xdebug.log=/tmp/xdebug.log
xdebug.log_level=7
@@ -0,0 +1,7 @@
; Enable xhprof extension module
; extension=xhprof.so
; You can either pass the directory location as an argument to the constructor for XHProfRuns_Default() or set xhprof.output_dir ini param.
;xhprof.output_dir=''
;xhprof.collect_additional_info=0
;xhprof.sampling_interval=100000
;xhprof.sampling_depth=0x7fffffff
@@ -0,0 +1 @@
extension=xsl.so
@@ -0,0 +1 @@
extension=zip.so
@@ -0,0 +1 @@
date.timezone = Europe/Moscow