File tree 1 file changed +7
-4
lines changed
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -333,11 +333,8 @@ if ($null -eq $installed -or -not("$($installed.Version).".StartsWith(($version
333
333
}
334
334
if ($version -eq $master_version ) {
335
335
$version = ' master'
336
- Invoke-WebRequest - UseBasicParsing - Uri https:// dl.bintray.com / shivammathur/ php/ Install-PhpMaster.ps1 - OutFile $php_dir \Install-PhpMaster.ps1 > $null 2>&1
337
- & $php_dir \Install-PhpMaster.ps1 - Architecture $arch - ThreadSafe $ts - Path $php_dir
338
- } else {
339
- Install-Php - Version $version - Architecture $arch - ThreadSafe $ts - InstallVC - Path $php_dir - TimeZone UTC - InitialPhpIni Production - Force > $null 2>&1
340
336
}
337
+ Install-Php - Version $version - Architecture $arch - ThreadSafe $ts - InstallVC - Path $php_dir - TimeZone UTC - InitialPhpIni Production - Force > $null 2>&1
341
338
} else {
342
339
if ($env: update -eq ' true' ) {
343
340
Update-Php $php_dir > $null 2>&1
@@ -358,5 +355,11 @@ if($version -lt "5.5") {
358
355
} else {
359
356
Enable-PhpExtension - Extension openssl, curl, opcache, mbstring - Path $php_dir
360
357
}
358
+ if ($version -eq " master" ) {
359
+ " xdebug" , " pcov" | ForEach-Object { Invoke-WebRequest - UseBasicParsing - Uri " https://github.com/shivammathur/php-extensions-windows/releases/latest/download/php_$env: PHPTS `_$arch `_$_ .dll" - OutFile $ext_dir " \php`_$_ .dll" }
360
+ Rename-Item $ext_dir \php_oci8_12c.dll - NewName $ext_dir \php_oci8.dll
361
+ Set-PhpIniKey - Key ' opcache.jit_buffer_size' - Value ' 256M' - Path $php_dir
362
+ Set-PhpIniKey - Key ' opcache.jit' - Value ' 1235' - Path $php_dir
363
+ }
361
364
Update-PhpCAInfo - Path $php_dir - Source $cert_source
362
365
Add-Log $tick " PHP" " $status PHP $ ( $installed.FullVersion ) "
You can’t perform that action at this time.
0 commit comments