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
--
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]