Connecting Tech Pros Worldwide Help | Site Map

Not reading the php.ini file

Ian Pawson
Guest
 
Posts: n/a
#1: Jul 17 '05
I have php 4.3.3 on my local IIS5.1 server (XP) in ISAPI mode. It all works
ok except that it does not seem to be reading the php.ini file as any
changes I make are not shown up when doing a phpinfo(). This shows the ini
path as c:\windows\php.ini. This is where it is and it is the only php.ini
on the machine. I have tried stopping and starting the service but this does
not help.
Any advice on why it does not seem to be being parsed?


Randell D.
Guest
 
Posts: n/a
#2: Jul 17 '05

re: Not reading the php.ini file



"Ian Pawson" <ian@ipawson.com> wrote in message
news:3f6b5681$0$245$cc9e4d1f@news.dial.pipex.com.. .[color=blue]
> I have php 4.3.3 on my local IIS5.1 server (XP) in ISAPI mode. It all[/color]
works[color=blue]
> ok except that it does not seem to be reading the php.ini file as any
> changes I make are not shown up when doing a phpinfo(). This shows the ini
> path as c:\windows\php.ini. This is where it is and it is the only php.ini
> on the machine. I have tried stopping and starting the service but this[/color]
does[color=blue]
> not help.
> Any advice on why it does not seem to be being parsed?
>
>[/color]

I'm afraid I'm on a Linux platform using Apache but one thing I would try is
place the php.ini file in the same directory as your php.exe and see what
that does for you.


Ian Pawson
Guest
 
Posts: n/a
#3: Jul 17 '05

re: Not reading the php.ini file


Thanks for your helpful comment, however, it did bot cure the problem. I
found that by doing a shutdown and restart of IIS that it then read the ini
file.

"Randell D." <you.can.email.me.at.randelld@yahoo.com> wrote in message
news:W4Rab.991577$ro6.19433840@news2.calgary.shaw. ca...[color=blue]
>
> "Ian Pawson" <ian@ipawson.com> wrote in message
> news:3f6b5681$0$245$cc9e4d1f@news.dial.pipex.com.. .[color=green]
> > I have php 4.3.3 on my local IIS5.1 server (XP) in ISAPI mode. It all[/color]
> works[color=green]
> > ok except that it does not seem to be reading the php.ini file as any
> > changes I make are not shown up when doing a phpinfo(). This shows the[/color][/color]
ini[color=blue][color=green]
> > path as c:\windows\php.ini. This is where it is and it is the only[/color][/color]
php.ini[color=blue][color=green]
> > on the machine. I have tried stopping and starting the service but this[/color]
> does[color=green]
> > not help.
> > Any advice on why it does not seem to be being parsed?
> >
> >[/color]
>
> I'm afraid I'm on a Linux platform using Apache but one thing I would try[/color]
is[color=blue]
> place the php.ini file in the same directory as your php.exe and see what
> that does for you.
>
>[/color]


Closed Thread