Justtechjobs.com Find a programming school near you






Online Campus Both


php-windows | 2003112

Re: [PHP-WIN] Permission PHP IIS5.0 From: Frank M. Kromann (frank <email protected>)
Date: 11/18/03

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