Файловый менеджер - Редактировать - /var/opt/nydus/ops/customer_local_ops/control_panel/powershell/plesk_fix_dll_conflict.ps1
Назад
$logFile = "C:\Windows\TEMP\plesk-fix-dll-conflict.log" $sourceDll = "C:\Windows\System32\vcruntime140.dll" function get-timestamp { get-date -format "yyyy-MM-dd HH:mm:ss.ffffff" } function log([string]$msg) { echo "$(get-timestamp): $msg" >>$logFile } remove-item -ea silentlycontinue $logFile log "BEGIN" if (test-path -pathtype leaf $sourceDll) { start-sleep 2 log "stopping nydus-ex-api" stop-service -ea continue -name nydus-ex-api 2>&1 >>$logFile log "stopping nydus-ex" stop-service -ea continue -name nydus-ex 2>&1 >>$logFile copy-item -ea continue $sourceDll C:\nydus\pyvenv\Scripts 2>&1 >>$logFile copy-item -ea continue $sourceDll C:\nydus\var\ops\pyvenv\Scripts 2>&1 >>$logFile start-sleep 2 log "starting nydus-ex" start-service -ea continue -name nydus-ex 2>&1 >>$logFile log "starting nydus-ex-api" start-service -ea continue -name nydus-ex-api 2>&1 >>$logFile } else { log "unable to find $sourceDll" } log "END"
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка