|
|
|
|
||||||
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
hi any one me to .. fix this problem
I am using Windows Xp using Xamp to run my php application while unlink the file i received one error like Access denied in my local machine how can i give write permission to this particular folder. how can i solve please any one me to fix. |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
Damodhar schreef:
> hi any one me to .. fix this problem > > > I am using Windows Xp using Xamp to run my php application > > while unlink the file i received one error like Access denied in my > local machine how can i give write permission to this particular > folder. > > how can i solve please any one me to fix. > Hi Damodhar, PHP is just a process, so it runs as a certain user. Since you installed Xamp, you run Apache. I am not very knowledgable when it comes to Xamp (I install all by hand), but I never saw an Apache with a username other that: - www-data - nobody - apache Look them up in your useradministration thingy. Then you know which user runs PHP (via Apache). Make sure that user has rights on the directory or file you want to unlink. Regards, Erwin Moller |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
Damodhar wrote:
> hi any one me to .. fix this problem > > > I am using Windows Xp using Xamp to run my php application > > while unlink the file i received one error like Access denied in my > local machine how can i give write permission to this particular > folder. > > how can i solve please any one me to fix. > > Try a Windows newsgroup. They can you with Windows settings. -- ================== Remove the "x" from my email address Jerry Stuckle JDS Computer Training Corp. jstucklex@attglobal.net ================== |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
Damodhar escribió:
> I am using Windows Xp using Xamp to run my php application > > while unlink the file i received one error like Access denied in my > local machine how can i give write permission to this particular > folder. As you've already been told, this is off-topic. Right click on the folder icon, choose "Properties" and go to the "Security" tab. Add there the appropriate user and grant the desired permissions. What's the user? If you run Apache as a regular program then the user is *you*. If you run Apache as service then you must find out. Hit Win+R and type "services.msc". Find "Apache" in the list and double click on it. The user is specified in the second tab ("Iniciar sesión" in Spanish, not sure about English versions of Windows). If you're hitting permission issues I suggest you create a Windows user for Apache and set it there, rather than using the LOCAL_SYSTEM default user. -- -- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain -- Mi sitio sobre programación web: http://bits.demogracia.com -- Mi web de humor al baño María: http://www.demogracia.com -- |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
On 2 May, 11:15, "Álvaro G. Vicario"
<alvaroNOSPAMTHA...@demogracia.com> wrote: > Damodhar escribió: > > > I am using Windows Xp using Xamp to run my php application > > > while unlink the file i received one error like Access denied in my > > local machine how can i give write permission to this particular > > folder. > > As you've already been told, this is off-topic. > ... make sure nothing else is using the file. File locking in MSWindows is very greedy. C. |
|
![]() |
| Outils de la discussion | |
|
|