Hi.
I have errors such as:
Warning [2] preg_match(): Allocation of JIT memory failed,
PCRE JIT will be disabled.
This is likely caused by security restrictions. Either grant PHP permission to allocate executable memory,
or set pcre.jit=0 - Line: 648 - File: admin/inc/functions.php PHP 7.4.11 (linux)
Warning [2] preg_match(): Allocation of JIT memory failed, PCRE JIT will be disabled.
This is likely caused by security restrictions. Either grant PHP permission to allocate executable memory,
or set pcre.jit=0 - Line: 812 - File: admin/modules/user/groups.php PHP 7.4.11 (Linux)
Warning [2] preg_replace(): Allocation of JIT memory failed, PCRE JIT will be disabled. This is likely caused by security restrictions. Either grant PHP permission to allocate executable memory,
or set pcre.jit=0 - Line: 1272 - File: inc/plugins/rexshop.php PHP 7.4.11 (Linux)
Warning [2] Use of undefined constant MODULE - assumed āMODULEā (this will throw an Error in a future version of PHP) - Line: 11 - File: admin/modules/user/mybot.php PHP 7.4.11 (Linux)
Warning [2] preg_replace(): Allocation of JIT memory failed, PCRE JIT will be disabled. This is likely caused by security restrictions. Either grant PHP permission to allocate executable memory, or set pcre.jit=0 - Line: 372 - File: admin/modules/config/questions.php PHP 7.4.11 (Linux)
set pcre.jit=0 - Line: 233 - File: inc/class_feedparser.php PHP 7.4.11 (linux
This is caused by Php , i found 6 errors for 5 min , if i search more i would find more.
i am not sure how to fix every file by few steps and not editing 100 files for example.
I fixed 1 or 2 files by adding pcre.jit=0
To fix everything i think version php 7.2 would be perfectly fine for me. How to change my php to previous?
If you know how to fix the current erros by editing few things and not 100 files ,tell me ,where is the boss file of php to add pcre.jit=0 and the problem to be solved.
Otherwise i prefer php version 7.2
Or if you know another solutions ,tell me please.
I would appreciate it.