Resolved: Can't find php.ini on my Linux/Apache module install

From: Date: Tue, 27 Feb 2001 06:06:36 +0000
Subject: Resolved: Can't find php.ini on my Linux/Apache module install
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-41798@lists.php.net to get a copy of this message
OK, I answered my own question. After researching on php.net, I determined that the php.ini should have been in /usr/local/lib, but was missing, presumably because whoever did the install skipped the step of copying php.ini-dist to /usr/local/lib/php.ini. I downloaded a source .tar, extracted it, found php.ini-dist, copied it to /usr/local/lib/php.ini, restarted Apache, and I'm in business. So, PHP was using default values in lieu of a php.ini file. - Ken At 12:11 AM 2/27/01 -0500, 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

« previous php.general (#41798) next »