RE: [PHP] php.ini
| From: | Mark Roedel | Date: | Wed, 07 Nov 2001 14:30:55 +0000 |
| Subject: | RE: [PHP] php.ini | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-73738@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Gede [mailto:gede.e.dharmika@astra-honda.com]
> Sent: Wednesday, November 07, 2001 3:24 AM
> To: php-general@lists.php.net
> Subject: [PHP] php.ini
>
>
> I try to change session.cookie_lifetime to 30....
> But because there is no php.ini in /u/compile/php-1.5.33/lib
> I just change the php.ini in
> /usr/local/lib/php.ini and
> /u/extract/Apachetoolbox-1.5.33/src/php-4.0.6/pear/tests/php.ini
>
> After I changed it, I look again with phpinfo......but there is no
> changes......
>
> Where did I do wrong ?
The output of your phpinfo() means that the only php.ini that will be
read and recognized by your copy of PHP is
/u/compile/php-1.5.33/lib/php.ini
If that directory doesn't currently exist, create it and copy one of
your other php.ini's there. (And, of course, don't forget that unless
you're running PHP as a standalone CGI you'll need to restart Apache
when you make changes to get it to re-read the ini file...)
---
Mark Roedel | "Blessed is he who has learned to laugh
Systems Programmer | at himself, for he shall never cease
LeTourneau University | to be entertained."
Longview, Texas, USA | -- John Powell