Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:13ilya:php73
php73
php-ini.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File php-ini.patch of Package php73
diff -Pdpru php-7.3.33.orig/php.ini-production php-7.3.33/php.ini-production --- php-7.3.33.orig/php.ini-production 2021-11-16 14:18:29.000000000 +0300 +++ php-7.3.33/php.ini-production 2024-07-16 09:44:03.224249062 +0300 @@ -279,7 +279,7 @@ zlib.output_compression = Off ; implications and is generally recommended for debugging purposes only. ; http://php.net/implicit-flush ; Note: This directive is hardcoded to On for the CLI SAPI -implicit_flush = Off +;implicit_flush = Off ; The unserialize callback function will be called (with the undefined class' ; name as parameter), if the unserializer finds an undefined class @@ -368,7 +368,7 @@ zend.enable_gc = On ; threat in any way, but it makes it possible to determine whether you use PHP ; on your server or not. ; http://php.net/expose-php -expose_php = On +expose_php = Off ;;;;;;;;;;;;;;;;;;; ; Resource Limits ; @@ -377,7 +377,7 @@ expose_php = On ; 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 +;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 @@ -454,7 +454,7 @@ memory_limit = 128M ; Development Value: E_ALL ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT ; http://php.net/error-reporting -error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT +error_reporting = E_ALL ; This directive controls whether or not and where PHP will output errors, ; notices and warnings too. Error output is very useful during development, but @@ -544,7 +544,7 @@ report_memleaks = On ; Development Value: On ; Production value: On ; 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 @@ -663,7 +663,7 @@ request_order = "GP" ; Development Value: Off ; Production Value: Off ; http://php.net/register-argc-argv -register_argc_argv = Off +;register_argc_argv = Off ; When enabled, the ENV, REQUEST and SERVER variables are created when they're ; first used (Just In Time) instead of when the script starts. If these @@ -686,7 +686,7 @@ auto_globals_jit = On ; 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 = 16M ; Automatically add files before PHP document. ; http://php.net/auto-prepend-file @@ -728,7 +728,7 @@ default_charset = "UTF-8" ;;;;;;;;;;;;;;;;;;;;;;;;; ; UNIX: "/path1:/path2" -;include_path = ".:/php/includes" +include_path = ".:/usr/share/php7" ; ; Windows: "\path1;\path2" ;include_path = ".;c:\php\includes" @@ -790,7 +790,7 @@ enable_dl = Off ; of zero causes PHP to behave as before. Default is 1. You should fix your scripts ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED. ; http://php.net/cgi.fix-pathinfo -;cgi.fix_pathinfo=1 +cgi.fix_pathinfo=0 ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside ; of the web tree and people will not be able to circumvent .htaccess security. @@ -838,7 +838,7 @@ file_uploads = On ; Maximum allowed size for uploaded files. ; http://php.net/upload-max-filesize -upload_max_filesize = 2M +upload_max_filesize = 10M ; Maximum number of files that can be uploaded via a single request max_file_uploads = 20 @@ -953,7 +953,7 @@ cli_server.color = On [Date] ; Defines the default timezone used by the date functions ; http://php.net/date.timezone -;date.timezone = +date.timezone = "UTC" ; http://php.net/date.default-latitude ;date.default_latitude = 31.7667 @@ -1171,7 +1171,7 @@ mysqli.max_persistent = -1 ; Allow or prevent persistent links. ; http://php.net/mysqli.allow-persistent -mysqli.allow_persistent = On +mysqli.allow_persistent = Off ; Maximum number of links. -1 means no limit. ; http://php.net/mysqli.max-links @@ -1364,7 +1364,7 @@ session.save_handler = files ; where MODE is the octal representation of the mode. Note that this ; does not overwrite the process's umask. ; http://php.net/session.save-path -;session.save_path = "/tmp" +session.save_path = "/var/lib/php7/sessions" ; Whether to use strict session mode. ; Strict session mode does not accept an uninitialized session ID, and @@ -1373,14 +1373,14 @@ session.save_handler = files ; vulnerability. It is disabled by default for maximum compatibility, but ; enabling it is encouraged. ; https://wiki.php.net/rfc/strict_sessions -session.use_strict_mode = 0 +session.use_strict_mode = 1 ; Whether to use cookies. ; http://php.net/session.use-cookies session.use_cookies = 1 ; http://php.net/session.cookie-secure -;session.cookie_secure = +session.cookie_secure = 1 ; This option forces PHP to fetch and use a cookie for storing and maintaining ; the session id. We encourage this operation as it's very helpful in combating @@ -1391,7 +1391,7 @@ session.use_only_cookies = 1 ; Name of the session (used as cookie name). ; http://php.net/session.name -session.name = PHPSESSID +session.name = SID ; Initialize session on request startup. ; http://php.net/session.auto-start @@ -1399,7 +1399,7 @@ session.auto_start = 0 ; Lifetime in seconds of cookie or, if 0, until browser is restarted. ; http://php.net/session.cookie-lifetime -session.cookie_lifetime = 0 +session.cookie_lifetime = 2592000 ; The path for which the cookie is valid. ; http://php.net/session.cookie-path @@ -1412,13 +1412,13 @@ session.cookie_domain = ; Whether or not to add the httpOnly flag to the cookie, which makes it ; inaccessible to browser scripting languages such as JavaScript. ; http://php.net/session.cookie-httponly -session.cookie_httponly = +session.cookie_httponly = 1 ; Add SameSite attribute to cookie to help mitigate Cross-Site Request Forgery (CSRF/XSRF) ; Current valid values are "Strict", "Lax" or "None". When using "None", ; make sure to include the quotes, as `none` is interpreted like `false` in ini files. ; https://tools.ietf.org/html/draft-west-first-party-cookies-07 -session.cookie_samesite = +session.cookie_samesite = "Lax" ; Handler used to serialize data. php is the standard serializer of PHP. ; http://php.net/session.serialize-handler @@ -1446,7 +1446,7 @@ session.gc_divisor = 1000 ; After this number of seconds, stored data will be seen as 'garbage' and ; cleaned up by the garbage collection process. ; http://php.net/session.gc-maxlifetime -session.gc_maxlifetime = 1440 +session.gc_maxlifetime = 2592000 ; NOTE: If you are using the subdirectory option for storing session files ; (see session.save_path above), then garbage collection does *not* @@ -1490,7 +1490,7 @@ session.use_trans_sid = 0 ; Default Value: 32 ; Development Value: 26 ; Production Value: 26 -session.sid_length = 26 +session.sid_length = 22 ; The URL rewriter will look for URLs in a defined set of HTML tags. ; <form> is special; if you include them here, the rewriter will @@ -1527,7 +1527,7 @@ session.trans_sid_tags = "a=href,area=hr ; Development Value: 5 ; Production Value: 5 ; http://php.net/session.hash-bits-per-character -session.sid_bits_per_character = 5 +session.sid_bits_per_character = 6 ; Enable upload progress tracking in $_SESSION ; Default Value: On @@ -1557,7 +1557,7 @@ session.sid_bits_per_character = 5 ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS" ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS" ; http://php.net/session.upload-progress.name -;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS" +session.upload_progress.name = "SESSION_UPLOAD_PROGRESS" ; How frequently the upload progress should be updated. ; Given either in percentages (per-file), or in bytes
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor