|
@@ -1323,7 +1323,7 @@ bcmath.scale = 0
|
|
|
|
|
|
[Session]
|
|
[Session]
|
|
; Handler used to store/retrieve data.
|
|
; Handler used to store/retrieve data.
|
|
-; http://php.net/session.save-handler
|
|
|
|
|
|
+; http://php.net/session.save-handler redis tcp://192.168.1.10:6379?auth=password
|
|
session.save_handler = files
|
|
session.save_handler = files
|
|
|
|
|
|
; Argument passed to save_handler. In the case of files, this is the path
|
|
; Argument passed to save_handler. In the case of files, this is the path
|
|
@@ -1353,7 +1353,7 @@ session.save_handler = files
|
|
; where MODE is the octal representation of the mode. Note that this
|
|
; where MODE is the octal representation of the mode. Note that this
|
|
; does not overwrite the process's umask.
|
|
; does not overwrite the process's umask.
|
|
; http://php.net/session.save-path
|
|
; http://php.net/session.save-path
|
|
-;session.save_path = "/tmp"
|
|
|
|
|
|
+session.save_path = "/tmp"
|
|
|
|
|
|
; Whether to use strict session mode.
|
|
; Whether to use strict session mode.
|
|
; Strict session mode does not accept uninitialized session ID and regenerate
|
|
; Strict session mode does not accept uninitialized session ID and regenerate
|
|
@@ -1780,52 +1780,52 @@ ldap.max_links = -1
|
|
|
|
|
|
[opcache]
|
|
[opcache]
|
|
; Determines if Zend OPCache is enabled
|
|
; Determines if Zend OPCache is enabled
|
|
-;opcache.enable=1
|
|
|
|
|
|
+opcache.enable=1
|
|
|
|
|
|
; Determines if Zend OPCache is enabled for the CLI version of PHP
|
|
; Determines if Zend OPCache is enabled for the CLI version of PHP
|
|
-;opcache.enable_cli=0
|
|
|
|
|
|
+opcache.enable_cli=0
|
|
|
|
|
|
; The OPcache shared memory storage size.
|
|
; The OPcache shared memory storage size.
|
|
-;opcache.memory_consumption=128
|
|
|
|
|
|
+opcache.memory_consumption=128
|
|
|
|
|
|
; The amount of memory for interned strings in Mbytes.
|
|
; The amount of memory for interned strings in Mbytes.
|
|
-;opcache.interned_strings_buffer=8
|
|
|
|
|
|
+opcache.interned_strings_buffer=8
|
|
|
|
|
|
; The maximum number of keys (scripts) in the OPcache hash table.
|
|
; The maximum number of keys (scripts) in the OPcache hash table.
|
|
; Only numbers between 200 and 1000000 are allowed.
|
|
; Only numbers between 200 and 1000000 are allowed.
|
|
-;opcache.max_accelerated_files=10000
|
|
|
|
|
|
+opcache.max_accelerated_files=10000
|
|
|
|
|
|
; The maximum percentage of "wasted" memory until a restart is scheduled.
|
|
; The maximum percentage of "wasted" memory until a restart is scheduled.
|
|
-;opcache.max_wasted_percentage=5
|
|
|
|
|
|
+opcache.max_wasted_percentage=5
|
|
|
|
|
|
; When this directive is enabled, the OPcache appends the current working
|
|
; When this directive is enabled, the OPcache appends the current working
|
|
; directory to the script key, thus eliminating possible collisions between
|
|
; directory to the script key, thus eliminating possible collisions between
|
|
; files with the same name (basename). Disabling the directive improves
|
|
; files with the same name (basename). Disabling the directive improves
|
|
; performance, but may break existing applications.
|
|
; performance, but may break existing applications.
|
|
-;opcache.use_cwd=1
|
|
|
|
|
|
+opcache.use_cwd=0
|
|
|
|
|
|
; When disabled, you must reset the OPcache manually or restart the
|
|
; When disabled, you must reset the OPcache manually or restart the
|
|
; webserver for changes to the filesystem to take effect.
|
|
; webserver for changes to the filesystem to take effect.
|
|
-;opcache.validate_timestamps=1
|
|
|
|
|
|
+opcache.validate_timestamps=1
|
|
|
|
|
|
; How often (in seconds) to check file timestamps for changes to the shared
|
|
; How often (in seconds) to check file timestamps for changes to the shared
|
|
; memory storage allocation. ("1" means validate once per second, but only
|
|
; memory storage allocation. ("1" means validate once per second, but only
|
|
; once per request. "0" means always validate)
|
|
; once per request. "0" means always validate)
|
|
-;opcache.revalidate_freq=2
|
|
|
|
|
|
+opcache.revalidate_freq=60
|
|
|
|
|
|
; Enables or disables file search in include_path optimization
|
|
; Enables or disables file search in include_path optimization
|
|
-;opcache.revalidate_path=0
|
|
|
|
|
|
+opcache.revalidate_path=0
|
|
|
|
|
|
; If disabled, all PHPDoc comments are dropped from the code to reduce the
|
|
; If disabled, all PHPDoc comments are dropped from the code to reduce the
|
|
; size of the optimized code.
|
|
; size of the optimized code.
|
|
-;opcache.save_comments=1
|
|
|
|
|
|
+opcache.save_comments=0
|
|
|
|
|
|
; If enabled, a fast shutdown sequence is used for the accelerated code
|
|
; If enabled, a fast shutdown sequence is used for the accelerated code
|
|
; Depending on the used Memory Manager this may cause some incompatibilities.
|
|
; Depending on the used Memory Manager this may cause some incompatibilities.
|
|
-;opcache.fast_shutdown=0
|
|
|
|
|
|
+opcache.fast_shutdown=1
|
|
|
|
|
|
; Allow file existence override (file_exists, etc.) performance feature.
|
|
; Allow file existence override (file_exists, etc.) performance feature.
|
|
-;opcache.enable_file_override=0
|
|
|
|
|
|
+;opcache.enable_file_override=1
|
|
|
|
|
|
; A bitmask, where each bit enables or disables the appropriate OPcache
|
|
; A bitmask, where each bit enables or disables the appropriate OPcache
|
|
; passes
|
|
; passes
|