Announcement

#1 2022-02-15 19:36:35

bradawk1
Member
2022-02-12
8

php problem

Good Afternoon,

Just noticed this message in my piwigo pages:

Warning: 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 in /var/www/html/photos/include/functions_plugins.inc.php on line 374

Line 374 is this if clause:

if (preg_match('/Version:\\s*([\\w.-]+)/', $line, $matches))
    {
      $fs_version = $matches[1];
    }

Am I supposed to put it on the line after $fs_version = ... ?

Piwigo URL: http://van-orden.org/photos

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2022 · Contact