# diff -c php.ini-production php.ini *** php.ini-production Tue Dec 8 10:31:04 2020 --- php.ini Wed Dec 16 00:49:45 2020 *************** *** 212,218 **** ; Development Value: 4096 ; Production Value: 4096 ; http://php.net/output-buffering ! output_buffering = 4096 ; You can redirect all of the output of your scripts to a function. For ; example, if you set output_handler to "mb_output_handler", character --- 212,219 ---- ; Development Value: 4096 ; Production Value: 4096 ; http://php.net/output-buffering ! ;output_buffering = 4096 ! output_buffering = Off ; You can redirect all of the output of your scripts to a function. For ; example, if you set output_handler to "mb_output_handler", character *************** *** 297,303 **** ; The value is also used for json_encode when encoding double values. ; If -1 is used, then dtoa mode 0 is used which automatically select the best ; precision. ! serialize_precision = -1 ; open_basedir, if set, limits all file operations to the defined directory ; and below. This directive makes most sense if used in a per-directory --- 298,305 ---- ; The value is also used for json_encode when encoding double values. ; If -1 is used, then dtoa mode 0 is used which automatically select the best ; precision. ! ;serialize_precision = -1 ! serialize_precision = 17 ; open_basedir, if set, limits all file operations to the defined directory ; and below. This directive makes most sense if used in a per-directory *************** *** 385,391 **** ; Maximum execution time of each script, in seconds ; http://php.net/max-execution-time ; Note: This directive is hardcoded to 0 for the CLI SAPI ! max_execution_time = 30 ; Maximum amount of time each script may spend parsing request data. It's a good ; idea to limit this time on productions servers in order to eliminate unexpectedly --- 387,394 ---- ; Maximum execution time of each script, in seconds ; http://php.net/max-execution-time ; Note: This directive is hardcoded to 0 for the CLI SAPI ! ;max_execution_time = 60 ! max_execution_time = 3600 ; Maximum amount of time each script may spend parsing request data. It's a good ; idea to limit this time on productions servers in order to eliminate unexpectedly *************** *** 395,401 **** ; Development Value: 60 (60 seconds) ; Production Value: 60 (60 seconds) ; http://php.net/max-input-time ! max_input_time = 60 ; Maximum input variable nesting level ; http://php.net/max-input-nesting-level --- 398,405 ---- ; Development Value: 60 (60 seconds) ; Production Value: 60 (60 seconds) ; http://php.net/max-input-time ! ;max_input_time = 60 ! max_input_time = 30000 ; Maximum input variable nesting level ; http://php.net/max-input-nesting-level *************** *** 406,412 **** ; Maximum amount of memory a script may consume ; http://php.net/memory-limit ! memory_limit = 128M ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Error handling and logging ; --- 410,417 ---- ; Maximum amount of memory a script may consume ; http://php.net/memory-limit ! ;memory_limit = 128M ! memory_limit = 1024M ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Error handling and logging ; *************** *** 536,541 **** --- 541,547 ---- ; Production Value: Off ; http://php.net/track-errors ;track_errors = Off + track_errors = Off ; Turn off normal error reporting and emit XML-RPC error XML ; http://php.net/xmlrpc-errors *************** *** 550,555 **** --- 556,562 ---- ; Note: This directive is hardcoded to Off for the CLI SAPI ; http://php.net/html-errors ;html_errors = On + html_errors = On ; If html_errors is set to On *and* docref_root is not empty, then PHP ; produces clickable error messages that direct to a page describing the error *************** *** 584,589 **** --- 591,597 ---- ; http://php.net/error-log ; Example: ;error_log = php_errors.log + error_log = /var/log/php.log ; Log errors to syslog (Event Log on Windows). ;error_log = syslog *************** *** 691,697 **** ; Its value may be 0 to disable the limit. It is ignored if POST data reading ; is disabled through enable_post_data_reading. ; http://php.net/post-max-size ! post_max_size = 8M ; Automatically add files before PHP document. ; http://php.net/auto-prepend-file --- 699,706 ---- ; Its value may be 0 to disable the limit. It is ignored if POST data reading ; is disabled through enable_post_data_reading. ; http://php.net/post-max-size ! ;post_max_size = 8M ! post_max_size = 16400M ; Automatically add files before PHP document. ; http://php.net/auto-prepend-file *************** *** 843,852 **** ; Maximum allowed size for uploaded files. ; http://php.net/upload-max-filesize ! upload_max_filesize = 2M ; Maximum number of files that can be uploaded via a single request ! max_file_uploads = 20 ;;;;;;;;;;;;;;;;;; ; Fopen wrappers ; --- 852,863 ---- ; Maximum allowed size for uploaded files. ; http://php.net/upload-max-filesize ! ;upload_max_filesize = 2M ! upload_max_filesize = 16400M ; Maximum number of files that can be uploaded via a single request ! ;max_file_uploads = 20 ! max_file_uploads = 64 ;;;;;;;;;;;;;;;;;; ; Fopen wrappers ; *************** *** 871,877 **** ; Default timeout for socket based streams (seconds) ; http://php.net/default-socket-timeout ! default_socket_timeout = 60 ; If your scripts have to deal with files from Macintosh systems, ; or you are running on a Mac and need to deal with files from --- 882,889 ---- ; Default timeout for socket based streams (seconds) ; http://php.net/default-socket-timeout ! ;default_socket_timeout = 60 ! default_socket_timeout = 300 ; If your scripts have to deal with files from Macintosh systems, ; or you are running on a Mac and need to deal with files from *************** *** 960,965 **** --- 972,978 ---- ; Defines the default timezone used by the date functions ; http://php.net/date.timezone ;date.timezone = + date.timezone = Asia/Tokyo ; http://php.net/date.default-latitude ;date.default_latitude = 31.7667 *************** *** 1053,1058 **** --- 1066,1072 ---- [Pdo_mysql] ; Default socket name for local MySQL connects. If empty, uses the built-in ; MySQL defaults. + pdo_mysql.cache_size = 2000 pdo_mysql.default_socket= [Phar] *************** *** 1085,1091 **** ;mail.force_extra_parameters = ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename ! mail.add_x_header = Off ; The path to a log file that will log all mail() calls. Log entries include ; the full path of the script, line number, To address and headers. --- 1099,1106 ---- ;mail.force_extra_parameters = ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename ! ;mail.add_x_header = Off ! mail.add_x_header = On ; The path to a log file that will log all mail() calls. Log entries include ; the full path of the script, line number, To address and headers. *************** *** 1340,1345 **** --- 1355,1361 ---- ; does not overwrite the process's umask. ; http://php.net/session.save-path ;session.save_path = "/tmp" + session.save_path = "/tmp" ; Whether to use strict session mode. ; Strict session mode does not accept an uninitialized session ID, and *************** *** 1767,1785 **** --- 1783,1806 ---- [opcache] ; Determines if Zend OPCache is enabled ;opcache.enable=1 + opcache.enable=1 ; Determines if Zend OPCache is enabled for the CLI version of PHP ;opcache.enable_cli=0 + opcache.enable_cli=1 ; The OPcache shared memory storage size. ;opcache.memory_consumption=128 + opcache.memory_consumption=128 ; 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. ; 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. ;opcache.max_wasted_percentage=5 *************** *** 1798,1803 **** --- 1819,1825 ---- ; memory storage allocation. ("1" means validate once per second, but only ; once per request. "0" means always validate) ;opcache.revalidate_freq=2 + opcache.revalidate_freq=1 ; Enables or disables file search in include_path optimization ;opcache.revalidate_path=0 *************** *** 1805,1810 **** --- 1827,1833 ---- ; If disabled, all PHPDoc comments are dropped from the code to reduce the ; size of the optimized code. ;opcache.save_comments=1 + opcache.save_comments=1 ; Allow file existence override (file_exists, etc.) performance feature. ;opcache.enable_file_override=0