Re: Permission PHP IIS5.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

IIS runs all anonymous requests (php or static files) as a user called
IUSR_<maschine name>, unless you changed that. You can either change the
user or you can grant this user the privileges you need.

- Frank

> hello,
> 
> I'm having a problem with permissions to PHP in IIS 5.0. I'll be
thankful if someone help me.
> 
> PHP (or user) doesn't have permission to write in a file with
fopen($arquivo,"w"), delete file with  unlink() or move_uploaded_file().
> 
> Errors:
> Warning: fopen(D:\krakatoa\webroot\Corpsite\cms\admin\editor\novo.htm):
failed to open stream: Permission denied in
D:\krakatoa\webroot\Corpsite\cms\admin\EditorContentTransfer.php on line
33
> ============
> Warning: move_uploaded_file(tux_puro_wallpaper.jpg): failed to open
stream: Permission denied in
D:\krakatoa\webroot\Corpsite\cms\admin\RandomPicture.php on line 20
> ==================
> Warning:
unlink(D:\krakatoa\webroot\Corpsite\cms\images\main_images\random_home\bd02.jpg):
Permission denied in
D:\krakatoa\webroot\Corpsite\cms\admin\RandomPicture.php on line 41
> 
> 
> php.exe or user needs permissions?
> Some idea?
> 
> Thank you very mutch.
> 
> Best regards,
> 
> Luiz Miguel Axcar
> Campinas, SP, Brasil
> +55 (19) 9749-6970
> lmaxcar@yahoo.com.br
> http://www.geocities.com/lmaxcar
> The penguin never sleeps.

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux