Basically running Zen Cart version 1.5.6b plus a few additional corrections which means also basically ZC 1.5.7 on PHP 7.3.6, Apache Linux 4.14.117-grsec-grsec+, PHP memory limit just increased from 96M to 128M to try to remove the generation of warnings like described below (no effect).
Searched the internet and it seems that the solution to this is to modify the php.ini to disable pcre.jit... After I modified my php.ini to disable pcre.jit, the messages were no longer being generated, but now I wonder if there is some other effect such as a performance hit or something.
Anyways, these are examples of warnings I was receiving in a single mydebug log working in the above environment just by accessing admin/server_info.php:
Again to correct this, I added to my php.ini file (or equivalent file to assign php settings):Code:PHP Warning: preg_replace(): JIT compilation failed: no more memory in admin/includes/extra_configures/enable_error_logging.php on line 38 PHP Warning: preg_match(): JIT compilation failed: no more memory in admin/includes/initsystem.php on line 30 PHP Warning: preg_replace(): JIT compilation failed: no more memory in includes/classes/db/mysql/query_factory.php on line 84 PHP Warning: preg_match(): JIT compilation failed: no more memory in admin/includes/extra_configures/enable_error_logging.php on line 20 PHP Warning: preg_match(): JIT compilation failed: no more memory in includes/classes/db/mysql/query_factory.php on line 475 PHP Warning: preg_replace(): JIT compilation failed: no more memory in includes/functions/sessions.php on line 143 PHP Warning: preg_replace(): JIT compilation failed: no more memory in admin/includes/functions/general.php on line 3767 PHP Warning: preg_replace(): JIT compilation failed: no more memory in admin/includes/init_includes/init_templates.php on line 35 PHP Warning: preg_replace_callback(): JIT compilation failed: no more memory in includes/classes/class.base.php on line 136 PHP Warning: preg_match_all(): JIT compilation failed: no more memory in admin/includes/classes/class.admin.zcObserverLogEventListener.php on line 185 PHP Warning: preg_replace(): JIT compilation failed: no more memory in admin/includes/functions/general.php on line 136 PHP Warning: preg_replace(): JIT compilation failed: no more memory in admin/includes/functions/general.php on line 137 PHP Warning: preg_replace(): JIT compilation failed: no more memory in admin/includes/classes/class.admin.zcObserverLogEventListener.php on line 140 PHP Warning: preg_match(): JIT compilation failed: no more memory in admin/includes/init_includes/init_errors.php on line 210 PHP Warning: preg_split(): JIT compilation failed: no more memory in admin/includes/functions/general.php on line 1142 PHP Warning: preg_replace(): JIT compilation failed: no more memory in includes/functions/plugin_support.php on line 63 PHP Warning: preg_match(): JIT compilation failed: no more memory in includes/classes/db/mysql/query_factory.php on line 488
Code:pcre.jit = 0
Bookmarks