Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions amp_conf/htdocs/admin/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@
//
//enable error reporting and start benchmarking
ini_set("default_charset","UTF-8");
// PCRE JIT needs executable memory; SELinux / hardened PHP / some containers block it and the
// resulting warning becomes a fatal ErrorException under Whoops (e.g. fwconsole from logrotate).
if (function_exists('ini_set')) {
@ini_set('pcre.jit', '0');
}

function microtime_float() { list($usec,$sec) = explode(' ',microtime()); return ((float)$usec+(float)$sec); }
$benchmark_starttime = microtime_float();
Expand Down