我已经在 Windows Server 2016 机器上下载了PHP 7.4.1 NTS vc15 x86。我也下载安装了vc_redist.x86.exe
。
当我尝试从命令提示符运行 php-cgi 时,出现以下错误:
PHP 警告:'vcruntime140.dll' 14.0 与第 0 行未知中与 14.16 链接的 PHP 版本不兼容
关于如何解决这个问题的任何想法?我想我可以从档案中安装旧版本的 PHP,但这并不能真正解决问题。
尝试使用MySql安装程序MSI软件包在干净的Windows服务器计算机上安装最新版本的MySQL Server - 5.7.19.
在第一次尝试时,它告诉我它需要Visual Studio 2013 Redistributable的先决条件并安装它.但是,在尝试安装服务器时,它会抱怨:
1:动作10:59:21:安装.
1:1:MySQL Server 5.7 2:{F08E9C75-A42E-4962-8760-4CBD9CF35D7A}
1:动作10:59:21:FindRelatedProducts.搜索相关的应用程序
1:动作10:59:21:AppSearch.搜索已安装的应用程序
1:动作10:59:21:LaunchConditions.评估发射条件
1:此应用程序需要Visual Studio 2013 Redistributable.请安装Redistributable,然后再次运行此安装程序.
1:1:MySQL Server 5.7 2:{F08E9C75-A42E-4962-8760-4CBD9CF35D7A} 3:3
1:产品'MySQL Server 5.7.19'的操作'Install'失败.
我试过重启机器 - 问题仍然存在.
我已经检查了注册表,以确保Windows知道软件包已安装,它确实如此.
我已经尝试安装以前版本的MySql并且安装得很好.
所以我清理了所有安装并重新运行了包,这次也选择了Workbench,Shell和其他一些有用的工具.所有这些安装都很好 - 除了服务器.那仍然要求已经安装的可再发行组件.
我在哪里可以离开?
如何在IIS 10 W2016上安装Web部署?
到目前为止我已经尝试过
我在使用Window Server安装Docker时遇到了一些问题.
环境清单:
1 Windows 10(物理机)
2.VMware®WorkstationPlayer(12~以上)URL
3.Windows Server 2016在VM
4.Docker CE for Windows(稳定)URL
Unable to start: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: 'MobyLinuxVM' failed to start.
Failed to start the virtual machine 'MobyLinuxVM' because one of the Hyper-V components is not running.
'MobyLinuxVM' failed to start. (Virtual machine ID BBD755F7-05B6-4933-B1E0-F8ACA3D2467B)
The Virtual Machine Management Service failed to start the virtual machine 'MobyLinuxVM' because one of the …
Run Code Online (Sandbox Code Playgroud) 我们设置了两个相同的HP Z840工作站,其规格如下
并在每个上安装了Windows 7 SP1(x64)和Windows 10 Creators Update(x64).
然后我们运行了一个小内存基准测试(下面的代码,使用VS2015 Update 3,64位架构构建),它可以同时从多个线程执行内存分配 - 无填充.
#include <Windows.h>
#include <vector>
#include <ppl.h>
unsigned __int64 ZQueryPerformanceCounter()
{
unsigned __int64 c;
::QueryPerformanceCounter((LARGE_INTEGER *)&c);
return c;
}
unsigned __int64 ZQueryPerformanceFrequency()
{
unsigned __int64 c;
::QueryPerformanceFrequency((LARGE_INTEGER *)&c);
return c;
}
class CZPerfCounter {
public:
CZPerfCounter() : m_st(ZQueryPerformanceCounter()) {};
void reset() { m_st = ZQueryPerformanceCounter(); };
unsigned __int64 elapsedCount() { return ZQueryPerformanceCounter() - m_st; }; …
Run Code Online (Sandbox Code Playgroud) windows memory-management windows-7 windows-10 windows-server-2016
IIS 10声称完全支持HTTP/2.我想知道是否有办法在IIS 10上关闭HTTP/2.
在哪里可以查看Windows Server 2016中所有会话的完整历史记录?
以下PowerShell命令仅包含当前会话中的命令:
Get-History
Run Code Online (Sandbox Code Playgroud) 如何从主机访问Microsoft Docker容器的Windows事件日志?
我在Windows Server 2016下有一个docker容器.
容器基于image:microsoft/iis
我可以通过以下方式获取容器的IP地址:
docker inspect -f "{{ .NetworkSettings.Networks.nat.IPAddress }}" my-running-site
Run Code Online (Sandbox Code Playgroud)
如何通过Windows主机上的事件查看器连接到它?
我需要在Windows 2016 Server上使用Docker/Windows容器并准备在其上运行Windows应用程序.通过Powershell配置Windows并不像在Ubuntu上那样方便,特别是如果您从未真正使用过Windows Server并且需要学习所有Powershell命令;)
有没有办法通过GUI访问Windows容器?
Docker,Ubuntu,VNC 可以实现: 你能在docker容器中运行GUI应用程序吗?
想知道是否可以为Windows容器做类似的事情?
(我在内部工作,不使用Azure.在这里找到一个类似但未解决的问题:https://stackoverflow.com/questions/32721422/windows-server-containers-azure-how-to-create-a-container- with-gui)
谢谢.
==更新==
RDP绝对不是2016年2月的选项 - 不确定他们是否打算在最终版本中支持它?!
Remote Desktop
Windows Containers cannot be managed/interacted with through a RDP session in TP4.
Run Code Online (Sandbox Code Playgroud)
到目前为止,我设法使用Midnight Commander至少拥有一个不错的文件浏览器,但Windows上的命令行仍然没有多大乐趣.
我尝试在Windows Server 2016 TP4上的Windows容器中运行Visual Studio远程调试器.由于它在容器内运行,因此没有UI.
我尝试通过以下方式运行远程调试器:
.\msvsmon.exe /nostatus /silent /nosecuritywarn /nofirewallwarn /noclrwarn /port 4020
Run Code Online (Sandbox Code Playgroud)
我正在以管理员用户(nt authority\system)执行上述操作.这在主机上工作正常,但在容器内部不起作用.Windows事件日志显示以下错误事件.
Msvsmon was unable to start a server named "`6D2D071453C5:4020`".
The following error occurred: The parameter is incorrect.
Run Code Online (Sandbox Code Playgroud)
完整的事件日志:
Get-EventLog -LogName Application -EntryType Error | format-list
Index : 1718
EntryType : Error
InstanceId : 3221226473
Message : The description for Event ID '-1073740823' in Source 'Visual Studio Remote Debugger' cannot be found. The local computer may not have the …
Run Code Online (Sandbox Code Playgroud) debugging containers remote-debugging docker windows-server-2016
docker ×4
windows-10 ×2
containers ×1
debugging ×1
iis ×1
iis-10 ×1
msdeploy ×1
mysql ×1
php ×1
powershell ×1
rdp ×1
vcredist ×1
vnc ×1
windows ×1
windows-7 ×1