在Windows 7上的XAMPP中更改php写入权限 [英] changing php write permissions in XAMPP on Windows 7

查看:113
本文介绍了在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.

这篇关于在Windows 7上的XAMPP中更改php写入权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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