php-windows | 2003112
Date: 11/18/03
- Next message: Dang Nguyen: "[PHP-WIN] mkdir with PHP 4.3.4 and IIS 5.0 on Windows 2000"
- Previous message: Luiz Miguel Axcar: "[PHP-WIN] Permission PHP IIS5.0"
- Maybe in reply to: Luiz Miguel Axcar: "[PHP-WIN] Permission PHP IIS5.0"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 <email protected>
> 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
- Next message: Dang Nguyen: "[PHP-WIN] mkdir with PHP 4.3.4 and IIS 5.0 on Windows 2000"
- Previous message: Luiz Miguel Axcar: "[PHP-WIN] Permission PHP IIS5.0"
- Maybe in reply to: Luiz Miguel Axcar: "[PHP-WIN] Permission PHP IIS5.0"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

