Set memory_limit=-1 on Windows and macOS

This commit is contained in:
Shivam Mathur
2020-07-18 05:53:26 +05:30
parent 2f1900f7bc
commit 70fd71ab48
3 changed files with 4 additions and 2 deletions

View File

@ -270,6 +270,7 @@ if ($null -eq $installed -or -not("$($installed.Version).".StartsWith(($version
$installed = Get-Php -Path $php_dir
Set-PhpIniKey -Key 'date.timezone' -Value 'UTC' -Path $php_dir
Set-PhpIniKey -Key 'memory_limit' -Value '-1' -Path $php_dir
Enable-PhpExtension -Extension openssl, curl, opcache, mbstring -Path $php_dir
Update-PhpCAInfo -Path $php_dir -Source CurrentUser
if ($version -eq 'master') {