|
Posted by shimmyshack on 03/06/07 18:58
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.
I think it is either a faulty module - you are using a rather old
version of php, or perhaps you have a version already cluttering up
your system32 folder - have you checked there for repeats of the dlls
php uses?
Have you checked
http://uk2.php.net/manual/en/ref.curl.php
for hints on the files that need to be in your path, have you checked
your path includes the places where php looks for extensions?
I dont think this module requires dependencies but I am not 100% (more
like 80%) sometimes if a module doesnt load it is because it cannot
find its dependcies,
have you thought of using the latest version of a fully configured
setup after backingup your current setup and deleting the PATH info
for the current setup, it sounds like you would find it easier to
start with XAMPP. I suggest this alot, it is a preety good start for
people who need a development setup with all the bells and whistles,
but run into too many problems if they try to start off by installing
all the components manually.
good luck,m
[Back to original message]
|