Re: No php.ini?

From: Date: Thu, 29 Mar 2001 01:06:49 +0000
Subject: Re: No php.ini?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-45983@lists.php.net to get a copy of this message
On Thu, 29 Mar 2001 08:57, Zhu George-CZZ010 wrote: > Thanks to all for the suggestions. > > I used > > <?php > phpinfo(); > ?> > > and it shows that php.ini is in /usr/local/lib, but actually, it's not > there. Pretty strange. > > Thanks. > Actually, it shows where PHP will _look_ for php.ini. If it doesn't find it, built in defaults are used. The PHP installation process does _not_ install php.ini - you need to do that yourself; there are two sample ini files in the distribution that you can modify to meet your needs. Make sure you put the in the place shown in the phpinfo output, and if running PHP as an Apache module, mmake sure you restart apache to cause the ini file to be reread. -- David Robley | WEBMASTER & Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet | http://auseinet.flinders.edu.au/ Flinders University, ADELAIDE, SOUTH AUSTRALIA

« previous php.general (#45983) next »