Skip to content

Commit 6821184

Browse files
committed
php: Sync php-cachy patchset
Signed-off-by: Peter Jung <admin@ptr1337.dev>
1 parent 9f3118e commit 6821184

File tree

3 files changed

+7
-13
lines changed

3 files changed

+7
-13
lines changed

php/.SRCINFO

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ pkgbase = php
4848
sha256sums = a57e4f2e7b12f745472ab7ca242e4f2f310d32a2bcaf304a4e98020c335e2ec2
4949
sha256sums = 640dba0d960bfeaae9ad38d2826d3f6b5d6c175a4d3e16664eefff29141faad5
5050
sha256sums = 3cb032e719fe40963258616dcfe4937a6043042a31faef417c05dcb6e7295094
51-
sha256sums = 40de67e43a972159c54d948ef1bf4e94e2d0e96da1f21efc9002ba71f39b80ae
51+
sha256sums = 0db0cc8b673890dc4a143b6f3ad9ad6498e0cbc2850f82526e7bbc4918990bd1
5252
sha256sums = faee19fff5f554638b28d3277388d6f3604738e8a2670f3e55562947e5678bbc
5353
sha256sums = b3210ff1b679f03a3bac409b9da491def692254f8354e4d09515cd2409fea23f
5454

php/PKGBUILD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ sha256sums=('cb75a9b00a2806f7390dd64858ef42a47b443b3475769c8af6af33a18b1381f1'
3838
'a57e4f2e7b12f745472ab7ca242e4f2f310d32a2bcaf304a4e98020c335e2ec2'
3939
'640dba0d960bfeaae9ad38d2826d3f6b5d6c175a4d3e16664eefff29141faad5'
4040
'3cb032e719fe40963258616dcfe4937a6043042a31faef417c05dcb6e7295094'
41-
'40de67e43a972159c54d948ef1bf4e94e2d0e96da1f21efc9002ba71f39b80ae'
41+
'0db0cc8b673890dc4a143b6f3ad9ad6498e0cbc2850f82526e7bbc4918990bd1'
4242
'faee19fff5f554638b28d3277388d6f3604738e8a2670f3e55562947e5678bbc'
4343
'b3210ff1b679f03a3bac409b9da491def692254f8354e4d09515cd2409fea23f')
4444
validpgpkeys=('1198C0117593497A5EC5C199286AF1F9897469DC'
@@ -56,7 +56,7 @@ prepare() {
5656
patch -p0 -i "${srcdir}/php.ini.patch"
5757

5858
# Cachy Patches
59-
# patch -p0 -i "${srcdir}/php-cachy.patch"
59+
patch -p0 -i "${srcdir}/php-cachy.patch"
6060
# patch -Np1 -i "${srcdir}/disable-deepbind.patch"
6161
patch -Np1 -i "${srcdir}/0005-Enable-hugepages.patch"
6262
autoconf

php/php-cachy.patch

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
--- php.ini-production.orig 2023-03-17 18:57:48.255618251 +0100
22
+++ php.ini-production 2023-03-17 18:59:02.432322652 +0100
3-
@@ -1772,13 +1772,13 @@
3+
@@ -1676,10 +1672,10 @@
44

55
[opcache]
66
; Determines if Zend OPCache is enabled
@@ -12,12 +12,8 @@
1212
+opcache.enable_cli=1
1313

1414
; The OPcache shared memory storage size.
15-
-;opcache.memory_consumption=128
16-
+opcache.memory_consumption=128
17-
18-
; The amount of memory for interned strings in Mbytes.
19-
;opcache.interned_strings_buffer=8
20-
@@ -1803,7 +1803,7 @@
15+
;opcache.memory_consumption=128
16+
@@ -1707,7 +1703,7 @@
2117
; How often (in seconds) to check file timestamps for changes to the shared
2218
; memory storage allocation. ("1" means validate once per second, but only
2319
; once per request. "0" means always validate)
@@ -26,14 +22,12 @@
2622

2723
; Enables or disables file search in include_path optimization
2824
;opcache.revalidate_path=0
29-
@@ -1899,7 +1899,9 @@
25+
@@ -1808,7 +1804,7 @@
3026
; delays PHP startup, increases memory usage and degrades performance
3127
; under memory pressure - use with care.
3228
; Requires appropriate OS configuration.
3329
-;opcache.huge_code_pages=0
3430
+opcache.huge_code_pages=1
35-
+opcache.jit_buffer_size=128M
36-
+opcache.jit = tracing
3731

3832
; Validate cached file permissions.
3933
;opcache.validate_permission=0

0 commit comments

Comments
 (0)