Posted by ~john on 07/11/06 22:19
I don't want to move the php.ini file to my windows directory. As the
installation text suggests, I'd rather keep everything inside the
c:\php folder.
What do you mean change the path? The path of "doc_root"? It's pointed
to c:\php. Plus It's not going to do much good to change anything in
the .ini file if it's looking for the .ini file in the wrong
location... ie nothing I do in the php.ini file is going to be noticed
since it's not using it unless I copy it to the windows directory.
~john
flamer die.spam@hotmail.com wrote:
> ~john wrote:
>
> > As the installation txt suggests, I have left my php.ini file inside
> > the c:\php directory... but running phpinfo() shows that my php.ini
> > file is in c:\windows as shown below.
> >
> > Configuration File (php.ini path) - C:\WINDOWS
> >
> > Well there is no php.ini file in my windows directory, so I'm not sure
> > where it's getting it's configuration settings from... unless I suppose
> > they're built into the executable somewhere if no php.ini file is
> > found. My questions is - why php is not locating my php.ini file that
> > is located in the c:\php directory? I'd rather not move it to the
> > windows directory so I can keep everything nice and tidy like the
> > installation file suggests.
> >
> > BTW - This is a brand new laptop I'm installing PHP on so there is (I
> > just double checked) no PHP.ini file in the c:\windows directory. The
> > path is set to include c:\php... and opening a DOS prompt and typing
> > "php" is a recognizable command regardless of my current directory.
> > This is the 2nd machine I have had this same problem with. I'm still
> > confused...
> >
> > Any thoughts?
> >
> > thanks
>
>
> Well.. either stop IIS then copy the php.ini to \windows, or change the
> path setting in your config file.
>
> Flamer.
[Back to original message]
|