Changeset View
Changeset View
Standalone View
Standalone View
support/init/init-script.php
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Lines | $config_map = array( | ||||
// Don't limit memory, doing so just generally just prevents us from | // Don't limit memory, doing so just generally just prevents us from | ||||
// processing large inputs without many tangible benefits. | // processing large inputs without many tangible benefits. | ||||
'memory_limit' => -1, | 'memory_limit' => -1, | ||||
// See T13296. On macOS under PHP 7.3.x, PCRE currently segfaults after | // See T13296. On macOS under PHP 7.3.x, PCRE currently segfaults after | ||||
// "fork()" if "pcre.jit" is enabled. | // "fork()" if "pcre.jit" is enabled. | ||||
'pcre.jit' => 0, | 'pcre.jit' => 0, | ||||
// See PHI1894. This option was introduced in PHP 7.4, and removes the | |||||
// "args" value from exception backtraces. We have some unit tests which | |||||
// inspect "args", and this option generally obscures useful debugging | |||||
// information without any benefit in the context of Phabricator. | |||||
'zend.exception_ignore_args' => 0, | |||||
); | ); | ||||
foreach ($config_map as $config_key => $config_value) { | foreach ($config_map as $config_key => $config_value) { | ||||
ini_set($config_key, $config_value); | ini_set($config_key, $config_value); | ||||
} | } | ||||
$php_version = phpversion(); | $php_version = phpversion(); | ||||
$min_version = '5.5.0'; | $min_version = '5.5.0'; | ||||
▲ Show 20 Lines • Show All 55 Lines • Show Last 20 Lines |