|
Posted by shimmyshack on 03/06/07 19:24
On 6 Mar, 19:20, "shimmyshack" <matt.fa...@gmail.com> wrote:
> On 6 Mar, 19:12, "Steve" <no....@example.com> wrote:
>
>
>
> > "shimmyshack" <matt.fa...@gmail.com> wrote in message
>
> >news:1173207520.196454.105960@64g2000cwx.googlegroups.com...
> > | On 6 Mar, 18:22, "LiquidEyes" <n...@liquideyes.net> wrote:
> > | > > usually it's to do with directory/file permissions on windows servers.
> > | > > does
> > | > > IUSR_<computer name> have permissions to wrx the extension dir and the
> > | > > dll's?
> > | >
> > | > Hmm interesting... thanks for the suggestion.
> > | >
> > | > I don't really follow the bit about 'IUSR_<computer name>'.
> > | >
> > | > I'm just running Windows XP Home and I'm the main (admin) user. I didn't
> > set
> > | > up any special permissions for the PHP folder. I just unzipped the PHP
> > | > archive into my Program Files folder. I've just tried putting the PHP
> > folder
> > | > somewhere else rather than Program Files, but it seems to make no
> > | > difference.
> > | >
> > | > All folders on my hard drive seem to be read-only by default. Not only
> > that,
> > | > but if you remove the read-only attribute, next time you look at the
> > folder
> > | > properties again the read-only attribute has magically reappeared! I
> > think
> > | > this is just the way Windows XP works (?)
> > | >
> > | > The actual files in the 'dlls' and 'extensions' folders are not
> > read-only. I
> > | > can't think of any reason why the DLLs shouldn't be able to create files
> > | > inside the extensions folder if they wanted to...? Presumably what
> > you're
> > | > hinting at is that the extensions might need to create temporary files?
> > | > (which I suppose would explain why some extensions work and some
> > don't...)
> > | >
> > | > Returning to your suggestion regarding permissions: could it be that PHP
> > | > and/or its extensions have less privileges than I do as the user/admin?
> > I've
> > | > checked Apache on the list of Windows services, and it is set to log on
> > as
> > | > 'local system', so I can't see any obvious reason why PHP should have
> > | > difficulties.
> > |
> > |
> > |
> > | permissions isnt your issue if your on home
> > | in fact im not even sure if home can be cajolled into setting
> > | permissions as I think the option is not there.
> > | Apache runs as SYSTEM thats right, no worries. dlls dont need to
> > | create temporary files generally, so you're ok there.
> > | The "read only" flag is partially greyed - thats normal, they arent
> > | read only however - its just the way xp shows the setting.
>
> > yes, follow up on the module suggestion(s). however, permissions *could* be
> > an issue...and usually *is*. i'm not sure that he is using apache. if he's
> > running iis, he should give wrx permissions to the IUSR_<computer name here>
> > on his php root path and set subfolders to inherit those permissions. the
> > IUSR_ in a system user account, and while iis may well farm off the php
> > script to the php.exe, php does *not* get full system access. IUSR_ is
> > limited in what it can do...you have to specifically grant it permissions
> > for certain activities.
>
> > it's just a thought. i've had plenty a headache configuring windows server
> > that stemmed from this issue.
>
> > cheers.
>
> hi steve, I think i spotted some mention of apache running as local
> system account in one of the posts, thats why i went down that route,
> and windows home! - dont even go there. I think you could be right if
> they were running IIS though, its just that from memory theres a
> setting buried somewhere in the tools->folder options-view that says
> something like "use simnp[le file sharing (recommended)" word to that
> effect anyway which you have to uncheck on windows XP PRO in order for
> it to start allowing you to grant user permissions at directory level.
> I dont know the XP permissions very well though and you could be
> right! :)
oops i should add that I dont think that this option exists in windows
home, though it does in PRO, so the persmissions controls are limited.
Ive never used home though - apart from helping friends whose home xp
cant see devices!
[Back to original message]
|