Set memory_limit=-1 on Windows and macOS

This commit is contained in:
Shivam Mathur
2020-07-18 05:53:26 +05:30
parent 9845a63f5c
commit a965723128
3 changed files with 3 additions and 1 deletions

View File

@ -372,6 +372,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
if($version -lt "5.5") {
ForEach($lib in "libeay32.dll", "ssleay32.dll") {
Invoke-WebRequest -UseBasicParsing -Uri https://dl.bintray.com/shivammathur/php/$lib -OutFile $php_dir\$lib >$null 2>&1