Re: PHP.ini problems
| From: | Jason Wood | Date: | Thu, 01 Nov 2001 19:53:38 +0000 |
| Subject: | Re: PHP.ini problems | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-10163@lists.php.net to get a copy of this message | ||
He already stated that he used phpinfo(); and it was looking in c:\winnt.
as to your question.... im not really sure. I think there's a way that you
can tell PHP to use a certain ini file, im not sure though. Double check to
make sure you used the php.ini-dist and not the optimized one. Had that
happen to someone at work here ;)
Jason
"Justin Garrett" <usjgarrett@byu.edu> wrote in message
news:20011101025042.97416.qmail@pb1.pair.com...
> Use phpinfo() to see where PHP is looking for its config file.
>
> --
> Justin Garrett
>
> "Harry Blohm" <hcbl2k@qwest.net> wrote in message
> news:3BE0A44F.E451B4B3@qwest.net...
> > Hi,
> >
> > I'm running PHP4.06 on win2k server.. and PHP seems to work fine.
> > I'm running a Vbulletin and that mostly works like a pro. I find my that
> > I can't use any email function under Vbulletin. After chasing this
> > around for many day I believe the problem is that php.ini file is not
> > being read. When I use the phpinfo function it shows my SMTP set
> > localhost and does not reflect the sendmail_from email address I've
> > used. Either the phpinfo does not report accurately or my php.ini file
> > is not being read.
> >
> > I have searched for a day thru all manner of PHP related sites and
> > have found others asking about this problem but whenever the problem
> > pertains to a win2k machine no one responds. According to phpinfo it is
> > looking for php.ini in the
> > c:\winnt directory ..which is where the dumb thing is and always has
> > been. I have removed ALL other files with a php and an .ini in the
> > name. The only thing I see.. and it seems nearly impossible is the fact
> > that technically my the directory is name C:\WINNT all in uppercase and
> > the phpinfo refers to it in lowercase. Those are the same directories in
> > NT but not in unix.
> > I'm thinking that php was born of unix and somehow that is the root of
> > the problem.
> >
> > HELP this is an absurd problem! Does anyone know where to find the
> > setting that controls what directory php.ini is expected to live ??
> >
> > Help ?????
> >
> > Harry
> >
>
>