安装 XAMPP 时如何在 UAC 上工作 [英] How to work on UAC when installing XAMPP

查看:37
本文介绍了安装 XAMPP 时如何在 UAC 上工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将 Xampp 安装到我的计算机上,但是当我尝试安装它时,出现了一个对话框.我该如何解决这个问题..非常感谢您的帮助.!对话框:

I am installing Xampp to my computer but when i tried to install it a dialog box is showing up. how do i fix this one.. thank you so much for the help.! the dialog Box:

重要!因为在您的系统上激活了用户帐户控制 (UAC)XAMPP 的功能可能受到限制.

Important! Because an activated User Account Control (UAC) on your system some functions of XAMPP are possibly restricted.

使用UAC请避免安装XAMPP到 C:\Program Files(缺少写入权限).或者在之后使用 msconfig 停用 UAC这个设置.

With UAC please avoid to install XAMPP to C:\Program Files(Missing Write permissions). Or Deactivate UAC with msconfig after this setup.

推荐答案

这是 Windows Vista、7、8(可能是更新版本)的特定问题.

This is a specific issue for Windows Vista, 7, 8 (and presumably newer).

用户帐户控制 (UAC) 是 Windows 中的一项功能,可在程序进行需要管理员级别权限的更改时通知您,从而帮助您保持对计算机的控制.UAC 通过调整您的用户帐户的权限级别来工作.

User Account Control (UAC) is a feature in Windows that can help you stay in control of your computer by informing you when a program makes a change that requires administrator-level permission. UAC works by adjusting the permission level of your user account.

这主要应用于 C:\Program Files.您有时可能已经注意到,某些应用程序可以看到 C:\Program Files 中不存在的文件.你知道为什么?Windows 现在倾向于为每个用户定制C:\Program Files"文件夹.例如,旧应用程序将配置文件(如 .ini)存储在存储可执行文件的同一文件夹中.在过去的好日子里,所有用户对此类应用程序都有相同的配置.如今,Windows 将配置存储在与用户帐户相关联的特殊文件夹中.因此,现在不同的用户可能有不同的配置,而应用程序仍然认为配置文件与可执行文件在同一文件夹中.

This is applied mostly to C:\Program Files. You may have noticed sometimes, that some applications can see files in C:\Program Files that does not exist there. You know why? Windows now tend to have "C:\Program Files" folder customized for every user. For example, old applications store config files (like .ini) in the same folder where the executable files are stored. In the good old days all users had the same configurations for such apps. In nowadays Windows stores configs in the special folder tied to the user account. Thus, now different users may have different configs while application still think that config files are in the same folder with the executables.

XAMPP 不喜欢为不同的用户使用不同的配置.实际上,它不是 XAMPP 的配置文件,而是用于保存项目和数据库的文件夹.XAMPP 的想法是使所有用户的项目都相同.这是与 Windows 冲突的来源.

XAMPP does not like to have different config for different users. In fact it is not a config file for XAMPP, it is folders where you keep your projects and databases. The idea of XAMPP is to make projects same for all users. This is a source of a conflict with Windows.

您所需要的只是避免将 XAMPP 安装到 C:\Program Files 中.因此 XAMPP 将始终为所有用户使用原始文件,不会造成混淆.

All you need is to avoid installing XAMPP into C:\Program Files. Thus XAMPP will always use the original files for all users and there would be no confusion.

我建议将 XAMPP 安装到根目录下的特殊文件夹中,例如 C:\XAMPP.但在选择文件夹之前,您需要点击此警告消息.

这篇关于安装 XAMPP 时如何在 UAC 上工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆