Changing PHP permissions in XAMPP on Windows 7

I am trying to install a file-based blog engine in XAMPP, but all these projects require write permissions. I assume that they are not talking about the Windows settings, which can be accessed through the "properties". Any idea where / how to change this? It seems like an easy question, but I will come soon. Thanks.

+7
source share
2 answers

Windows is usually less restrictive regarding read / write permissions. If you did not install XAMPP in C: \ ProgramFiles, there are good chances that the file settings do not apply to your installation. In the unlikely event that your PHP log shows warnings / errors regarding file permissions, then changing them as you described (with settings> permissions) is the way to go. You just need to find out under what name apache works (through "Administration", "Services") and add read / write permissions for this user in the appropriate folder.

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

+6
source

Basically, the user that Apache is working with has to write files.

So, first check the list of processes to determine which one. Then just give this user write permission to these files / folders.

(I am not a user of XAMPP or Win 7, so I can’t give exact directions, but I’m sure that you will.)

+1
source

All Articles