Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 28 additions & 12 deletions bucket/php54-xdebug.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"identifier": "Xdebug-1.01",
"url": "https://xdebug.org/license.php"
},
"notes": [
"Xdebug is already enabled if PHP 5.4 was installed through scoop!",
"Otherwise add '$dir\\php_xdebug.dll' to your php.ini"
],
"architecture": {
"64bit": {
"url": "https://xdebug.org/files/php_xdebug-2.4.1-5.4-vc9-x86_64.dll#/php_xdebug.dll",
Expand All @@ -17,20 +21,32 @@
}
},
"post_install": [
"$phpconfd = \"$persist_dir\\..\\php54\\cli\\conf.d\"",
"$ini = \"zend_extension=$dir\\php_xdebug.dll`n[xdebug]`nxdebug.remote_enable=on`nxdebug.remote_autostart=on`nxdebug.remote_connect_back=on\"",
"if(!(test-path $phpconfd\\xdebug.ini)) {",
" Write-Output \"Enabling extension $(Convert-Path $phpconfd)\\xdebug.ini\"",
" Add-Content -Value $ini -Path \"$phpconfd\\xdebug.ini\"",
"} else {",
" Write-Host -f Yellow \"PHP 5.4 was not installed through scoop, you have to activate php_xdebug.dll manually! Add the following:`n\"",
" Write-Host -f Cyan \"$ini`n`n\"",
"$config = @(",
" \"zend_extension=$dir\\php_xdebug.dll\",",
" \"[xdebug]\",",
" \"xdebug.remote_enable=on\",",
" \"xdebug.remote_autostart=on\",",
" \"xdebug.remote_connect_back=on\"",
") -join \"`n\"",
"$php = $app -Split '-' | Select-Object -First 1",
"$configUpdated = $false",
"foreach ($phpGlobal in @($false, $true)) {",
" if (installed $php $phpGlobal) {",
" $configPath = \"$(persistdir $php $phpGlobal)\\cli\\conf.d\\xdebug.ini\"",
" if(-not (Test-Path -Path $configPath)) {",
" $configUpdated = $true",
" ensure (Split-Path $configPath -Parent) | Out-Null",
" Write-Host \"Enabling extension $configPath\"",
" Add-Content -Value $config -Path $configPath",
" }",
" break",
" }",
"}",
"if(-not $configUpdated) {",
Comment thread
z-Fng marked this conversation as resolved.
" Write-Host -ForegroundColor Yellow \"You may need to manually enable php_xdebug.dll. Add the following:`n\"",
" Write-Host -ForegroundColor Cyan \"$config`n`n\"",
"}"
],
"notes": [
"Xdebug is already enabled if PHP 5.4 was installed through scoop!",
"Otherwise add '$dir\\php_xdebug.dll' to your php.ini"
],
"checkver": {
"url": "https://xdebug.org/download/historical",
"regex": "php_xdebug-([\\d.]+-5.4)-vc9-x86_64.dll"
Expand Down
40 changes: 28 additions & 12 deletions bucket/php55-xdebug.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"identifier": "Xdebug-1.01",
"url": "https://xdebug.org/license.php"
},
"notes": [
"Xdebug is already enabled if PHP 5.5 was installed through scoop!",
"Otherwise add '$dir\\php_xdebug.dll' to your php.ini"
],
"architecture": {
"64bit": {
"url": "https://xdebug.org/files/php_xdebug-2.5.5-5.5-vc11-x86_64.dll#/php_xdebug.dll",
Expand All @@ -17,20 +21,32 @@
}
},
"post_install": [
"$phpconfd = \"$persist_dir\\..\\php55\\cli\\conf.d\"",
"$ini = \"zend_extension=$dir\\php_xdebug.dll`n[xdebug]`nxdebug.remote_enable=on`nxdebug.remote_autostart=on`nxdebug.remote_connect_back=on\"",
"if(!(test-path $phpconfd\\xdebug.ini)) {",
" Write-Output \"Enabling extension $(Convert-Path $phpconfd)\\xdebug.ini\"",
" Add-Content -Value $ini -Path \"$phpconfd\\xdebug.ini\"",
"} else {",
" Write-Host -f Yellow \"PHP 5.5 was not installed through scoop, you have to activate php_xdebug.dll manually! Add the following:`n\"",
" Write-Host -f Cyan \"$ini`n`n\"",
"$config = @(",
" \"zend_extension=$dir\\php_xdebug.dll\",",
" \"[xdebug]\",",
" \"xdebug.remote_enable=on\",",
" \"xdebug.remote_autostart=on\",",
" \"xdebug.remote_connect_back=on\"",
") -join \"`n\"",
"$php = $app -Split '-' | Select-Object -First 1",
"$configUpdated = $false",
"foreach ($phpGlobal in @($false, $true)) {",
" if (installed $php $phpGlobal) {",
" $configPath = \"$(persistdir $php $phpGlobal)\\cli\\conf.d\\xdebug.ini\"",
" if(-not (Test-Path -Path $configPath)) {",
" $configUpdated = $true",
" ensure (Split-Path $configPath -Parent) | Out-Null",
" Write-Host \"Enabling extension $configPath\"",
" Add-Content -Value $config -Path $configPath",
" }",
" break",
" }",
"}",
"if(-not $configUpdated) {",
Comment thread
z-Fng marked this conversation as resolved.
" Write-Host -ForegroundColor Yellow \"You may need to manually enable php_xdebug.dll. Add the following:`n\"",
" Write-Host -ForegroundColor Cyan \"$config`n`n\"",
"}"
],
"notes": [
"Xdebug is already enabled if PHP 5.5 was installed through scoop!",
"Otherwise add '$dir\\php_xdebug.dll' to your php.ini"
],
"checkver": {
"url": "https://xdebug.org/download/historical",
"regex": "php_xdebug-([\\d.]+-5.5)-vc11-x86_64.dll"
Expand Down
40 changes: 28 additions & 12 deletions bucket/php56-xdebug.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"identifier": "Xdebug-1.01",
"url": "https://xdebug.org/license.php"
},
"notes": [
"Xdebug is already enabled if PHP 5.6 was installed through scoop!",
"Otherwise add '$dir\\php_xdebug.dll' to your php.ini"
],
"architecture": {
"64bit": {
"url": "https://xdebug.org/files/php_xdebug-2.5.5-5.6-vc11-x86_64.dll#/php_xdebug.dll",
Expand All @@ -17,20 +21,32 @@
}
},
"post_install": [
"$phpconfd = \"$persist_dir\\..\\php56\\cli\\conf.d\"",
"$ini = \"zend_extension=$dir\\php_xdebug.dll`n[xdebug]`nxdebug.remote_enable=on`nxdebug.remote_autostart=on`nxdebug.remote_connect_back=on\"",
"if(!(test-path $phpconfd\\xdebug.ini)) {",
" Write-Output \"Enabling extension $(Convert-Path $phpconfd)\\xdebug.ini\"",
" Add-Content -Value $ini -Path \"$phpconfd\\xdebug.ini\"",
"} else {",
" Write-Host -f Yellow \"PHP 5.6 was not installed through scoop, you have to activate php_xdebug.dll manually! Add the following:`n\"",
" Write-Host -f Cyan \"$ini`n`n\"",
"$config = @(",
" \"zend_extension=$dir\\php_xdebug.dll\",",
" \"[xdebug]\",",
" \"xdebug.remote_enable=on\",",
" \"xdebug.remote_autostart=on\",",
" \"xdebug.remote_connect_back=on\"",
") -join \"`n\"",
"$php = $app -Split '-' | Select-Object -First 1",
"$configUpdated = $false",
"foreach ($phpGlobal in @($false, $true)) {",
" if (installed $php $phpGlobal) {",
" $configPath = \"$(persistdir $php $phpGlobal)\\cli\\conf.d\\xdebug.ini\"",
" if(-not (Test-Path -Path $configPath)) {",
" $configUpdated = $true",
" ensure (Split-Path $configPath -Parent) | Out-Null",
" Write-Host \"Enabling extension $configPath\"",
" Add-Content -Value $config -Path $configPath",
" }",
" break",
" }",
"}",
"if(-not $configUpdated) {",
" Write-Host -ForegroundColor Yellow \"You may need to manually enable php_xdebug.dll. Add the following:`n\"",
" Write-Host -ForegroundColor Cyan \"$config`n`n\"",
"}"
],
"notes": [
"Xdebug is already enabled if PHP 5.6 was installed through scoop!",
"Otherwise add '$dir\\php_xdebug.dll' to your php.ini"
],
"checkver": {
"url": "https://xdebug.org/download/historical",
"regex": "php_xdebug-([\\d.]+-5.6)-vc11-x86_64.dll"
Expand Down
40 changes: 28 additions & 12 deletions bucket/php70-xdebug.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"identifier": "Xdebug-1.01",
"url": "https://xdebug.org/license.php"
},
"notes": [
"Xdebug is already enabled if PHP 7.0 was installed through scoop!",
"Otherwise add '$dir\\php_xdebug.dll' to your php.ini"
],
"architecture": {
"64bit": {
"url": "https://xdebug.org/files/php_xdebug-2.6.1-7.0-vc14-x86_64.dll#/php_xdebug.dll",
Expand All @@ -17,20 +21,32 @@
}
},
"post_install": [
"$phpconfd = \"$persist_dir\\..\\php70\\cli\\conf.d\"",
"$ini = \"zend_extension=$dir\\php_xdebug.dll`n[xdebug]`nxdebug.remote_enable=on`nxdebug.remote_autostart=on`nxdebug.remote_connect_back=on\"",
"if(!(test-path $phpconfd\\xdebug.ini)) {",
" Write-Output \"Enabling extension $(Convert-Path $phpconfd)\\xdebug.ini\"",
" Add-Content -Value $ini -Path \"$phpconfd\\xdebug.ini\"",
"} else {",
" Write-Host -f Yellow \"PHP 7.0 was not installed through scoop, you have to activate php_xdebug.dll manually! Add the following:`n\"",
" Write-Host -f Cyan \"$ini`n`n\"",
"$config = @(",
" \"zend_extension=$dir\\php_xdebug.dll\",",
" \"[xdebug]\",",
" \"xdebug.remote_enable=on\",",
" \"xdebug.remote_autostart=on\",",
" \"xdebug.remote_connect_back=on\"",
") -join \"`n\"",
"$php = $app -Split '-' | Select-Object -First 1",
"$configUpdated = $false",
"foreach ($phpGlobal in @($false, $true)) {",
" if (installed $php $phpGlobal) {",
" $configPath = \"$(persistdir $php $phpGlobal)\\cli\\conf.d\\xdebug.ini\"",
" if(-not (Test-Path -Path $configPath)) {",
" $configUpdated = $true",
" ensure (Split-Path $configPath -Parent) | Out-Null",
" Write-Host \"Enabling extension $configPath\"",
" Add-Content -Value $config -Path $configPath",
" }",
" break",
" }",
"}",
"if(-not $configUpdated) {",
Comment thread
coderabbitai[bot] marked this conversation as resolved.
" Write-Host -ForegroundColor Yellow \"You may need to manually enable php_xdebug.dll. Add the following:`n\"",
" Write-Host -ForegroundColor Cyan \"$config`n`n\"",
"}"
],
"notes": [
"Xdebug is already enabled if PHP 7.0 was installed through scoop!",
"Otherwise add '$dir\\php_xdebug.dll' to your php.ini"
],
"checkver": {
"url": "https://xdebug.org/download/historical",
"regex": "php_xdebug-([\\d.]+-7.0)-vc14-x86_64.dll"
Expand Down
40 changes: 28 additions & 12 deletions bucket/php71-xdebug.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"identifier": "Xdebug-1.01",
"url": "https://xdebug.org/license.php"
},
"notes": [
"Xdebug is already enabled if PHP 7.1 was installed through scoop!",
"Otherwise add '$dir\\php_xdebug.dll' to your php.ini"
],
"architecture": {
"64bit": {
"url": "https://xdebug.org/files/php_xdebug-2.9.8-7.1-vc14-x86_64.dll#/php_xdebug.dll",
Expand All @@ -17,20 +21,32 @@
}
},
"post_install": [
"$phpconfd = \"$persist_dir\\..\\php71\\cli\\conf.d\"",
"$ini = \"zend_extension=$dir\\php_xdebug.dll`n[xdebug]`nxdebug.remote_enable=on`nxdebug.remote_autostart=on`nxdebug.remote_connect_back=on\"",
"if(!(test-path $phpconfd\\xdebug.ini)) {",
" Write-Output \"Enabling extension $(Convert-Path $phpconfd)\\xdebug.ini\"",
" Add-Content -Value $ini -Path \"$phpconfd\\xdebug.ini\"",
"} else {",
" Write-Host -f Yellow \"PHP 7.1 was not installed through scoop, you have to activate php_xdebug.dll manually! Add the following:`n\"",
" Write-Host -f Cyan \"$ini`n`n\"",
"$config = @(",
" \"zend_extension=$dir\\php_xdebug.dll\",",
" \"[xdebug]\",",
" \"xdebug.remote_enable=on\",",
" \"xdebug.remote_autostart=on\",",
" \"xdebug.remote_connect_back=on\"",
") -join \"`n\"",
"$php = $app -Split '-' | Select-Object -First 1",
"$configUpdated = $false",
"foreach ($phpGlobal in @($false, $true)) {",
" if (installed $php $phpGlobal) {",
" $configPath = \"$(persistdir $php $phpGlobal)\\cli\\conf.d\\xdebug.ini\"",
" if(-not (Test-Path -Path $configPath)) {",
" $configUpdated = $true",
" ensure (Split-Path $configPath -Parent) | Out-Null",
" Write-Host \"Enabling extension $configPath\"",
" Add-Content -Value $config -Path $configPath",
" }",
" break",
" }",
"}",
"if(-not $configUpdated) {",
Comment thread
z-Fng marked this conversation as resolved.
" Write-Host -ForegroundColor Yellow \"You may need to manually enable php_xdebug.dll. Add the following:`n\"",
" Write-Host -ForegroundColor Cyan \"$config`n`n\"",
"}"
],
"notes": [
"Xdebug is already enabled if PHP 7.1 was installed through scoop!",
"Otherwise add '$dir\\php_xdebug.dll' to your php.ini"
],
"checkver": {
"url": "https://xdebug.org/download/historical",
"regex": "php_xdebug-([\\d.]+-7.1)-vc14-x86_64.dll"
Expand Down
40 changes: 28 additions & 12 deletions bucket/php72-xdebug.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"identifier": "Xdebug-1.01",
"url": "https://xdebug.org/license.php"
},
"notes": [
"Xdebug is already enabled if PHP 7.2 was installed through scoop!",
"Otherwise add '$dir\\php_xdebug.dll' to your php.ini"
],
"architecture": {
"64bit": {
"url": "https://xdebug.org/files/php_xdebug-3.1.6-7.2-vc15-x86_64.dll#/php_xdebug.dll",
Expand All @@ -17,20 +21,32 @@
}
},
"post_install": [
"$phpconfd = \"$persist_dir\\..\\php72\\cli\\conf.d\"",
"$ini = \"zend_extension=$dir\\php_xdebug.dll`n[xdebug]`nxdebug.remote_enable=on`nxdebug.remote_autostart=on`nxdebug.remote_connect_back=on\"",
"if(!(test-path $phpconfd\\xdebug.ini)) {",
" Write-Output \"Enabling extension $(Convert-Path $phpconfd)\\xdebug.ini\"",
" Add-Content -Value $ini -Path \"$phpconfd\\xdebug.ini\"",
"} else {",
" Write-Host -f Yellow \"PHP 7.2 was not installed through scoop, you have to activate php_xdebug.dll manually! Add the following:`n\"",
" Write-Host -f Cyan \"$ini`n`n\"",
"$config = @(",
" \"zend_extension=$dir\\php_xdebug.dll\",",
" \"[xdebug]\",",
" \"xdebug.mode=develop,debug\",",
" \"xdebug.client_port=9003\",",
" \"xdebug.start_with_request=trigger # If you always want to use debug, set the value to 'yes'\"",
") -join \"`n\"",
Comment thread
coderabbitai[bot] marked this conversation as resolved.
"$php = $app -Split '-' | Select-Object -First 1",
"$configUpdated = $false",
"foreach ($phpGlobal in @($false, $true)) {",
" if (installed $php $phpGlobal) {",
" $configPath = \"$(persistdir $php $phpGlobal)\\cli\\conf.d\\xdebug.ini\"",
" if(-not (Test-Path -Path $configPath)) {",
" $configUpdated = $true",
" ensure (Split-Path $configPath -Parent) | Out-Null",
" Write-Host \"Enabling extension $configPath\"",
" Add-Content -Value $config -Path $configPath",
" }",
" break",
" }",
"}",
"if(-not $configUpdated) {",
" Write-Host -ForegroundColor Yellow \"You may need to manually enable php_xdebug.dll. Add the following:`n\"",
" Write-Host -ForegroundColor Cyan \"$config`n`n\"",
"}"
],
"notes": [
"Xdebug is already enabled if PHP 7.2 was installed through scoop!",
"Otherwise add '$dir\\php_xdebug.dll' to your php.ini"
],
"checkver": {
"url": "https://xdebug.org/download/historical",
"regex": "php_xdebug-([\\d.]+-7.2)-vc15-x86_64.dll"
Expand Down
40 changes: 28 additions & 12 deletions bucket/php73-xdebug.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"identifier": "Xdebug-1.01",
"url": "https://xdebug.org/license.php"
},
"notes": [
"Xdebug is already enabled if PHP 7.3 was installed through scoop!",
"Otherwise add '$dir\\php_xdebug.dll' to your php.ini"
],
"architecture": {
"64bit": {
"url": "https://xdebug.org/files/php_xdebug-3.1.6-7.3-vc15-x86_64.dll#/php_xdebug.dll",
Expand All @@ -17,20 +21,32 @@
}
},
"post_install": [
"$phpconfd = \"$persist_dir\\..\\php73\\cli\\conf.d\"",
"$ini = \"zend_extension=$dir\\php_xdebug.dll`n[xdebug]`nxdebug.remote_enable=on`nxdebug.remote_autostart=on`nxdebug.remote_connect_back=on\"",
"if(!(test-path $phpconfd\\xdebug.ini)) {",
" Write-Output \"Enabling extension $(Convert-Path $phpconfd)\\xdebug.ini\"",
" Add-Content -Value $ini -Path \"$phpconfd\\xdebug.ini\"",
"} else {",
" Write-Host -f Yellow \"PHP 7.3 was not installed through scoop, you have to activate php_xdebug.dll manually! Add the following:`n\"",
" Write-Host -f Cyan \"$ini`n`n\"",
"$config = @(",
" \"zend_extension=$dir\\php_xdebug.dll\",",
" \"[xdebug]\",",
" \"xdebug.mode=develop,debug\",",
" \"xdebug.client_port=9003\",",
" \"xdebug.start_with_request=trigger # If you always want to use debug, set the value to 'yes'\"",
") -join \"`n\"",
Comment thread
coderabbitai[bot] marked this conversation as resolved.
"$php = $app -Split '-' | Select-Object -First 1",
"$configUpdated = $false",
"foreach ($phpGlobal in @($false, $true)) {",
" if (installed $php $phpGlobal) {",
" $configPath = \"$(persistdir $php $phpGlobal)\\cli\\conf.d\\xdebug.ini\"",
" if(-not (Test-Path -Path $configPath)) {",
" $configUpdated = $true",
" ensure (Split-Path $configPath -Parent) | Out-Null",
" Write-Host \"Enabling extension $configPath\"",
" Add-Content -Value $config -Path $configPath",
" }",
" break",
" }",
"}",
"if(-not $configUpdated) {",
" Write-Host -ForegroundColor Yellow \"You may need to manually enable php_xdebug.dll. Add the following:`n\"",
" Write-Host -ForegroundColor Cyan \"$config`n`n\"",
"}"
],
"notes": [
"Xdebug is already enabled if PHP 7.3 was installed through scoop!",
"Otherwise add '$dir\\php_xdebug.dll' to your php.ini"
],
"checkver": {
"url": "https://xdebug.org/download/historical",
"regex": "php_xdebug-([\\d.]+-7.3)-vc15-x86_64.dll"
Expand Down
Loading
Loading