Files
SMANAGE/php/stop-php.ps1
T

4 lines
181 B
PowerShell

# 停止所有 PHP-CGI workers
Get-Process -Name "php-cgi" -ErrorAction SilentlyContinue | Stop-Process -Force
Write-Host "[php-cgi] stopped all workers" -ForegroundColor Yellow