在 Windows 7 上的 XAMPP 中更改 php 写入权限
我正在尝试在 XAMPP 中安装基于文件的博客引擎,但所有这些项目都需要更改写入权限.我假设他们不是在谈论可以通过属性"访问的 Windows 设置.知道在哪里/如何改变这个吗?似乎是一个简单的问题,但我来不及.谢谢你.
I'm trying to install a file-based blog engine in XAMPP, but all of these projects require write permissions to be changed. I'm assuming they are not talking the Windows setting that can be accessed through 'properties'. Any idea where/how to change this? seems like an easy question but i'm coming up short. Thank you.
推荐答案
Windows 通常对读/写权限的限制较少.如果您没有将 XAMPP 安装到 C:ProgramFiles 中,则该设置文件权限不适用于您的安装.在不太可能的情况下,您的 PHP 日志显示有关文件权限的警告/错误,然后像您描述的那样更改它们(使用设置>权限)是要走的路.您只需找出 apache 在哪个用户名下运行(通过管理工具、服务)并在相应文件夹中为该用户添加读/写权限.
Windows is generally less restrictive about read/write-permissions. If you did not install XAMPP into C:ProgramFiles chances are good, that setting file-permissions does not apply to your installation. In the unlikely case, that your PHP-log shows warnings/errors regarding file permissions, then changing them like you described (with settings > permissions) is the way to go. You just have to find out, under which user name apache is running (via Administrative Tools, Services) and add read/write permissions for that user in the appropriate folder.
简而言之,您可以忽略在 Windows 上设置文件权限的部分.
In short, you can ignore the sections on setting file permissions on Windows.
相关文章