sanskrit-lexicon / csl-websanlexicon

0 stars 1 forks source link

webtc1 jit error local installation #30

Closed funderburkjim closed 1 year ago

funderburkjim commented 1 year ago

In tracking down another problem, the local xampp version of webtc1 (http://localhost/cologne/md/web/webtc1/index.php) :

Warning: preg_replace_callback(): 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 in C:\xampp\htdocs\cologne\md\web\webtc\parm.php on line 113

Followed https://stackoverflow.com/questions/59231779/allocation-of-jit-memory-failed-pcre-jit-will-be-disabled-warning-in-php-7,


ini_set("pcre.jit", "0");
Be sure to run that line of code before any usages of regular expressions.
``
funderburkjim commented 1 year ago

See the commit above.