Project

General

Profile

Bug #11466 » patch-disable-pcrejit-arm.diff

Disable PCRE JIT compiler on 32-bit ARM platforms (works around the PHP crash) - Jim Pingle, 06/03/2021 09:34 AM

View differences:

src/etc/rc.php_ini_setup
77 77
	fi
78 78
fi
79 79

  
80
PCRE_JIT=1
81
MACH=$(/usr/bin/uname -m)
82
if [ "${MACH}" = "arm" ]; then
83
	PCRE_JIT=0
84
fi
85

  
80 86
# Set upload directory
81 87
UPLOADTMPDIR="/tmp"
82 88

  
......
206 212
session.hash_function = 1
207 213
${error_reporting}
208 214

  
215
[Pcre]
216
pcre.jit=${PCRE_JIT}
217

  
209 218
; Extensions
210 219

  
211 220
EOF
(3-3/3)