changing php write permissions in XAMPP on Windows 7

五迷三道 提交于 2019-11-28 01:11:22

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.

In short, you can ignore the sections on setting file permissions on Windows.

Basically, the user that Apache runs as needs to able to write to the files.

So firstly, check process list to determine which user that is. Then simply give that user write permission to those files/folders.

(I'm not a XAMPP or Win 7 user so can't give exact directions but I'm sure you'll work it out.)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!