[packages/php] Up to 8.3.4.
arekm
arekm at pld-linux.org
Wed Mar 20 15:04:10 CET 2024
commit 8a8e0b2eaa9e72aa1c991f3a95db6008d2d027f5
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed Mar 20 14:18:06 2024 +0100
Up to 8.3.4.
opcache.ini | 18 ++++++++++--------
php-ini.patch | 7 ++-----
php.spec | 13 +++++++------
3 files changed, 19 insertions(+), 19 deletions(-)
---
diff --git a/php.spec b/php.spec
index 071b032..a0e5f3c 100644
--- a/php.spec
+++ b/php.spec
@@ -139,10 +139,10 @@
%endif
%define orgname php
-%define ver_suffix 82
+%define ver_suffix 83
%define php_suffix %{!?with_default_php:%{ver_suffix}}
%define subver %{nil}
-%define rel 2
+%define rel 1
Summary: PHP: Hypertext Preprocessor
Summary(fr.UTF-8): Le langage de script embarque-HTML PHP
Summary(pl.UTF-8): Język skryptowy PHP
@@ -150,7 +150,7 @@ Summary(pt_BR.UTF-8): A linguagem de script PHP
Summary(ru.UTF-8): PHP - язык препроцессирования HTML-файлов, выполняемый на сервере
Summary(uk.UTF-8): PHP - мова препроцесування HTML-файлів, виконувана на сервері
Name: %{orgname}%{php_suffix}
-Version: 8.2.17
+Version: 8.3.4
Release: %{rel}
Epoch: 4
# All files licensed under PHP version 3.01, except
@@ -159,7 +159,7 @@ Epoch: 4
License: PHP 3.01 and Zend and BSD
Group: Libraries
Source0: https://www.php.net/distributions/%{orgname}-%{version}.tar.xz
-# Source0-md5: 6d7f56031948ff9da9739fe5a712baf3
+# Source0-md5: 598f9d78cbf4bbe4dc1c008a43459e61
#Source0: https://downloads.php.net/~pierrick/php-%{version}%{subver}.tar.xz
Source1: opcache.ini
Source2: %{orgname}-mod_php.conf
@@ -289,7 +289,7 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _sysconfdir %{php_sysconfdir}
# must be in sync with source. extra check ensuring that it is so is done in %%build
-%define php_api_version 20220829
+%define php_api_version 20230831
%define zend_module_api %{php_api_version}
%define zend_extension_api 4%{zend_module_api}
%define php_pdo_api_version 20170320
@@ -303,7 +303,7 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define jsonver %{version}
%define pharver %{version}
%define sqlite3ver %{version}
-%define zipver 1.21.1
+%define zipver 1.22.3
%define phpdbgver %{version}
%define sodiumver %{version}
@@ -2200,6 +2200,7 @@ for sapi in $sapis; do
--enable-option-checking=fatal \
%{__enable_disable bcmath bcmath shared} \
%{__enable_disable calendar calendar shared} \
+ %{?with_opcache:--with-capstone} \
%{__enable_disable ctype ctype shared} \
%{__enable_disable dba dba shared} \
%{__enable_disable dom dom shared} \
diff --git a/opcache.ini b/opcache.ini
index 67c0381..ef26a89 100644
--- a/opcache.ini
+++ b/opcache.ini
@@ -66,10 +66,6 @@
; are cached.
;opcache.max_file_size=0
-; Check the cache checksum each N requests.
-; The default value of "0" means that the checks are disabled.
-;opcache.consistency_checks=0
-
; How long to wait (in seconds) for a scheduled restart to begin if the cache
; is not being accessed.
;opcache.force_restart_timeout=180
@@ -121,8 +117,13 @@
;opcache.file_cache_fallback=1
; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
-; This should improve performance, but requires appropriate OS configuration.
-;opcache.huge_code_pages=1
+; Under certain circumstances (if only a single global PHP process is
+; started from which all others fork), this can increase performance
+; by a tiny amount because TLB misses are reduced. On the other hand, this
+; delays PHP startup, increases memory usage and degrades performance
+; under memory pressure - use with care.
+; Requires appropriate OS configuration.
+;opcache.huge_code_pages=0
; Validate cached file permissions.
;opcache.validate_permission=0
@@ -136,12 +137,12 @@
; Specifies a PHP script that is going to be compiled and executed at server
; start-up.
-; http://php.net/opcache.preload
+; https://php.net/opcache.preload
;opcache.preload=
; Preloading code as root is not allowed for security reasons. This directive
; facilitates to let the preloading to be run as another user.
-; http://php.net/opcache.preload_user
+; https://php.net/opcache.preload_user
;opcache.preload_user=
; Prevents caching files that are less than this number of seconds old. It
@@ -151,3 +152,4 @@
; Absolute path used to store shared lockfiles (for *nix only).
;opcache.lockfile_path=/tmp
+
diff --git a/php-ini.patch b/php-ini.patch
index c19d4dc..8cab4a0 100644
--- a/php-ini.patch
+++ b/php-ini.patch
@@ -241,7 +241,7 @@
; (time to live) Sets the number of second while cached file will be used
; instead of original one.
-@@ -1674,165 +1674,6 @@
+@@ -1673,161 +1673,6 @@ ldap.max_links = -1
[dba]
;dba.default_handler=
@@ -313,10 +313,6 @@
-; are cached.
-;opcache.max_file_size=0
-
--; Check the cache checksum each N requests.
--; The default value of "0" means that the checks are disabled.
--;opcache.consistency_checks=0
--
-; How long to wait (in seconds) for a scheduled restart to begin if the cache
-; is not being accessed.
-;opcache.force_restart_timeout=180
@@ -407,3 +403,4 @@
[curl]
; A default value for the CURLOPT_CAINFO option. This is required to be an
; absolute path.
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/8a8e0b2eaa9e72aa1c991f3a95db6008d2d027f5
More information about the pld-cvs-commit
mailing list