doubleyong
管理员
管理员
  • 最后登录2025-12-02
  • 发帖数1198
  • 最爱沙发
  • 喜欢达人
  • 原创写手
  • 社区居民
  • 忠实会员
阅读:9039回复:0

[php]xampp 安装时提示警告

楼主#
更多 发布于:2018-06-08 21:17
提示信息如下:

图片:xampp.jpg



"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(Missing Write permissions). Or Deactivate UAC with msconfig after this setup."


This is a specific issue for Windows Vista, 7, 8 (and presumably newer).
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.
This is applied mostly to C:\Program Files. You may have noticed sometimes, that some applications 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 user may have different configs while application still think that config files are in the same folder with the executables.
XAMPP does not like to have different config for different users. In fact it is not a config files for XAMPP, it has 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 conflict with Windows.
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.
I recommend to install XAMPP into the special folder in root directory like in C:\XAMPP. But before you choose the folder you need to click on this warning message.
中文:

这是Windows Vista,7, 8(可能更新)的一个特定问题。


用户帐户控制(UAC)是Windows中的一个特性,它可以通过通知程序何时进行需要管理员级别权限的更改来帮助您保持对计算机的控制。UAC通过调整用户帐户的权限级别来工作。


然后XAMMP想所有用户配置都一样,这与Windows发生冲突的根源(具体就不翻译了),


解决方案就是:

您只需要避免将XAMPP安装到C:\\程序文件中, 如:C:\Program Files 或 C:\Program Files (x86)。因此,XAMPP总是使用所有用户的原始文件,不会有混淆。


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


参考:https://blog.csdn.net/pwq296306654/article/details/46745109
知识需要管理,知识需要分享
游客


返回顶部

公众号

公众号