Remove all XAMPP support from CMS (files, references, configs)

This commit is contained in:
root
2026-06-04 19:22:01 +02:00
parent 4378144f45
commit e96e2a0fd3
6 changed files with 4 additions and 762 deletions
+1 -2
View File
@@ -6,7 +6,6 @@ $searchPaths = @(
"C:\Program Files (x86)\PHP",
"C:\php7",
"C:\php8",
"C:\xampp\php",
"C:\wamp\bin\php",
"C:\wamp64\bin\php",
"C:\laragon\bin\php",
@@ -42,7 +41,7 @@ if (-not $phpPath) {
if (-not $phpPath) {
Write-Host "Zoeken in C:\ schijf..." -ForegroundColor Yellow
$rootFolders = Get-ChildItem -Path "C:\" -Directory -ErrorAction SilentlyContinue |
Where-Object { $_.Name -match 'php|xampp|wamp|laragon|inetpub' }
Where-Object { $_.Name -match 'php|wamp|laragon|inetpub' }
foreach ($folder in $rootFolders) {
$found = Get-ChildItem -Path $folder.FullName -Recurse -Filter "php-cgi.exe" -ErrorAction SilentlyContinue |
Select-Object -First 1 -ExpandProperty FullName