How do I get extensions to load?

How do I get extensions to load?

am 29.11.2007 06:37:30 von Big Moxy

I am unable to get IIS on Vista to pick-up the php extension
directory.

This is what I have coded in php.ini yet phpinfo() doesn't reflect it.
I have stopped/started the web server several times. I haven't
rebooted my machine yet and hope it's unnecessary. Does anyone have
any suggestions?


extension_dir = ".;c:\php5\ext"

output:

Loaded Configuration File C:\Windows\php.ini
local value master value
extension_dir ./ ./

Thank you!

Re: How do I get extensions to load?

am 29.11.2007 10:08:42 von Erwin Moller

Big Moxy wrote:
> I am unable to get IIS on Vista to pick-up the php extension
> directory.
>
> This is what I have coded in php.ini yet phpinfo() doesn't reflect it.
> I have stopped/started the web server several times. I haven't
> rebooted my machine yet and hope it's unnecessary. Does anyone have
> any suggestions?
>
>
> extension_dir = ".;c:\php5\ext"
>
> output:
>
> Loaded Configuration File C:\Windows\php.ini
> local value master value
> extension_dir ./ ./
>
> Thank you!

Most probably your are editting the wrong php.ini file.
Check in your phpinfo() which php.ini IIS is using.
The path is listed.

Even if php doesn't find a php.ini, it will use a default version, which
you , of course, cannot control.

Regards,
Erwin Moller

PS: I am running PHP5 on Vista too. Do you also get the dreaded 'Worker
thread stopped responding' from time to time while all applications keep
running?

Re: How do I get extensions to load?

am 29.11.2007 16:20:52 von Big Moxy

On Nov 29, 1:08 am, Erwin Moller
wrote:
> Big Moxy wrote:
> > I am unable to get IIS on Vista to pick-up the php extension
> > directory.
>
> > This is what I have coded in php.ini yet phpinfo() doesn't reflect it.
> > I have stopped/started the web server several times. I haven't
> > rebooted my machine yet and hope it's unnecessary. Does anyone have
> > any suggestions?
>
> > extension_dir = ".;c:\php5\ext"
>
> > output:
>
> > Loaded Configuration File C:\Windows\php.ini
> > local value master value
> > extension_dir ./ ./
>
> > Thank you!
>
> Most probably your are editting the wrong php.ini file.
> Check in your phpinfo() which php.ini IIS is using.
> The path is listed.
>
> Even if php doesn't find a php.ini, it will use a default version, which
> you , of course, cannot control.
>
> Regards,
> Erwin Moller
>
> PS: I am running PHP5 on Vista too. Do you also get the dreaded 'Worker
> thread stopped responding' from time to time while all applications keep
> running?- Hide quoted text -
>
> - Show quoted text -

I provided the phpinfo() output in my original post. It is using
php.ini from c:\Windows.

I searched all of my hard drives and there are two php.ini files. One
in c:\Windows and one in c:\php5 (my php installation directory). Both
files are identical as I edit the c:\php5 file and then copy it to c:
\Windows.

Yes, I do get the dreaded 'Worker thread stopped responding' message.
It happens all too frequently for my liking.

What else could be happening?