Hi Ken,

that looks like both are being read, which I wasn't aware of. Thanks for
pointing out.

Setting things within the apache configuration is quite useful if you
want to set them on a per-directory basis, or have different settings
for .php and .phtml files, etc, etc.

Cheers,
Ben

Ken wrote:
> 
> At 07:08 AM 2/27/01 +0100, Ben Peter wrote:
> >Ken,
> >
> >if PHP is 'built in' to apache (--with-apxs, besides other ways to
> >achieve this), it is configured through Apache. This is either
> >httpd.conf, or .htaccess files within your web tree.
> >The 'configuration' section in the manual is more specific on that.
> 
> Interesting.  Are you suggesting that the PHP configuration directives could've been 
>put into the httpd.conf file?
> 
> Anyway, that wouldn't have been very practical, because they WEREN'T in there, and 
>creating default values would have been a pain.  What I needed (and found) was the 
>php.ini-dist file, which was preloaded with defaults and comments.  And once I put it 
>in php.ini, PHP did respond to the changed settings I put into it.
> 
> So, if what you're saying is true, then I guess it reads both httpd.conf and php.ini?
> 
> Thanks,
> 
> Ken
> [EMAIL PROTECTED]
> 
> >Cheers,
> >Ben
> >
> >Ken wrote:
> > >
> > > I can't seem to locate the php.ini file on my system.
> > >
> > > Here's some pertinent info from phpinfo():
> > >
> > > PHP Version 4.0.4pl1
> > > System    Linux  i686 unknown
> > > Configure Command   './configure' '--with-mysql' '--with-apxs' 
>'--enable-versioning'
> > > Server API   Apache
> > > Configuration File (php.ini) Path   /usr/local/lib
> > >
> > > find -name php.ini reveals no php.ini file.
> > >
> > > /usr/local/lib contains a php directory.  The php directory seems to only 
>contain PHP 4.0 source code.
> > >
> > > There IS a php3.ini file on the system, from a previous install.  Is there any 
>chance that this file is still being used?
> > >
> > > Where SHOULD this file be?  And how do I find out for sure which one it is?  Is 
>it possible that it doesn't exist?  If not, does that mean I could create one in 
>/usr/local/lib?  Where am I supposed to get a default version?
> > >
> > > Thanks,
> > >
> > > Ken

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to