|
Posted by Steve on 03/06/07 20:08
"shimmyshack" <matt.farey@gmail.com> wrote in message
news:1173208833.205379.61470@t69g2000cwt.googlegroups.com...
| 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'll not go there. :)
[Back to original message]
|