php - 在 Windows Server 2012 R2 上安装 XAMPP 时出现 UAC "missing write permissions"错误

标签 php mysql windows apache xampp

我在 Windows 上通过 PowerShell 脚本安装 XAMPP 时遇到以下问题:

Important! Because an activated User Account Control (UAC) on your system some functions of XAMPP are possibly restricted. With UAC please avoid to install XAMPP to C:\Program Files (x86) (missing write permisssions). Or deactivate UAC with msconfig after this setup. Error copying file from packed archive C:/xampp-win32-5.6.30-0-VC11-installer.exe to C:/xampp/service.exe Abort There has been an error. Unable to copy file

我已经从 Jenkins 执行了 PowerShell 脚本。

我也禁用了 UAC,但我仍然面临同样的问题。我该如何解决?

最佳答案

很可能 UAC 没有被有效禁用。尝试编辑此注册表项:

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

设置

EnableLUA

0x00000000

还要确保以管理员身份运行所有内容。

关于php - 在 Windows Server 2012 R2 上安装 XAMPP 时出现 UAC "missing write permissions"错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45941819/

相关文章:

php - 如何在 CSS 样式中使用 PHP 变量?

javascript - 显示存储在下拉菜单中的数据

mysql - SELECT 在 SELECT - UPDATE 事务期间返回更新的值

mysql - 基于同一个mysql表的一行更新其他表字段

c - 函数调用时出现段冲突错误

c++ - 如何将文件夹删除到回收站

windows - 如何将mp3嵌入.exe文件并播放?

PHP 检查日期是否在本周

php - 拉维尔 : Load relationships and specific columns

jquery - 我们可以将 mysql 与 node.js 一起使用吗