1
0
Fork 0

Merge remote-tracking branch 'johnstevenson/xdebug-win-opcache' into 1.3

pull/6127/head
Jordi Boggiano 2017-01-27 18:01:41 +01:00
commit 2931da6a50
1 changed files with 6 additions and 1 deletions

View File

@ -173,7 +173,12 @@ class XdebugHandler
$content .= $data.PHP_EOL; $content .= $data.PHP_EOL;
} }
$content .= PHP_EOL.'memory_limit='.ini_get('memory_limit').PHP_EOL; $content .= 'memory_limit='.ini_get('memory_limit').PHP_EOL;
if (defined('PHP_WINDOWS_VERSION_BUILD')) {
// Work-around for PHP windows bug, see issue #6052
$content .= 'opcache.enable_cli=0'.PHP_EOL;
}
return @file_put_contents($this->tmpIni, $content); return @file_put_contents($this->tmpIni, $content);
} }