php8/php-ini.patch
Petr Gajdos a6e2c6ad47 Accepting request 1164955 from devel:languages:php:php83
- version update to 8.3.4
- version update to 8.3.3
  * A bugfix release.
- version update to 8.3.2
- version update to 8.3.1
    https://www.php.net/ChangeLog-8.php#8.3.1

- version update to 8.3.0
  * https://www.php.net/releases/8.3/en.php
  * Typed class constants
  * Dynamic class constant fetch
  * New #[\Override] attribute
  * Deep-cloning of readonly properties
  * New json_validate() function
  * New Randomizer::getBytesFromString() method
  * New Randomizer::getFloat() and Randomizer::nextFloat() methods
  * New DOMElement::getAttributeNames(), 
        DOMElement::insertAdjacentElement(), 
        DOMElement::insertAdjacentText(), 
        DOMElement::toggleAttribute(), 
        DOMNode::contains(), DOMNode::getRootNode(), 
        DOMNode::isEqualNode(), DOMNameSpaceNode::contains(), and 
        DOMParentNode::replaceChildren() methods.
  * New IntlCalendar::setDate(), 
        IntlCalendar::setDateTime(), 
        IntlGregorianCalendar::createFromDate(), and
        IntlGregorianCalendar::createFromDateTime() methods.
  * New ldap_connect_wallet(), and ldap_exop_sync() functions.
  * New mb_str_pad() function.
  * New posix_sysconf(), posix_pathconf(), posix_fpathconf(),

OBS-URL: https://build.opensuse.org/request/show/1164955
OBS-URL: https://build.opensuse.org/package/show/devel:languages:php/php8?expand=0&rev=151
2024-04-04 14:10:04 +00:00

45 lines
1.4 KiB
Diff

Index: php-8.3.0/php.ini-production
===================================================================
--- php-8.3.0.orig/php.ini-production
+++ php-8.3.0/php.ini-production
@@ -752,7 +752,7 @@ default_charset = "UTF-8"
;;;;;;;;;;;;;;;;;;;;;;;;;
; UNIX: "/path1:/path2"
-;include_path = ".:/php/includes"
+include_path = ".:/usr/share/php8:/usr/share/php/PEAR"
;
; Windows: "\path1;\path2"
;include_path = ".;c:\php\includes"
@@ -986,7 +986,7 @@ cli_server.color = On
[Date]
; Defines the default timezone used by the date functions
; https://php.net/date.timezone
-;date.timezone =
+date.timezone = 'UTC'
; https://php.net/date.default-latitude
;date.default_latitude = 31.7667
@@ -1179,7 +1179,7 @@ mysqli.max_persistent = -1
; Allow or prevent persistent links.
; https://php.net/mysqli.allow-persistent
-mysqli.allow_persistent = On
+mysqli.allow_persistent = Off
; Maximum number of links. -1 means no limit.
; https://php.net/mysqli.max-links
Index: php-8.3.0/sapi/fpm/www.conf.in
===================================================================
--- php-8.3.0.orig/sapi/fpm/www.conf.in
+++ php-8.3.0/sapi/fpm/www.conf.in
@@ -27,6 +27,8 @@
; If the group is not set, the user's group is used.
user = @php_fpm_user@
group = @php_fpm_group@
+; session folder has to be writable by user:group
+php_value[session.save_path] = /var/lib/php8/sessions
; The address on which to accept FastCGI requests.
; Valid syntaxes are: