note 17602 added to configuration
| From: | rhornsby at osuedc dot org | Date: | Sun, 16 Dec 2001 19:14:48 +0000 |
| Subject: | note 17602 added to configuration | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-22929@lists.php.net to get a copy of this message | ||
For whatever reason, I can't get PHP to pick up changes to the [session] section of
/usr/local/lib/php.ini, including 'autostart' and more importantly,
'cookie_lifetime'. (It picks up changes to at least some other sections when I view
'php_info(), but not [session])
Instead, I had to use a .htaccess file to make it work, like so:
<IfModule mod_php4.c>
php_flag session.auto_start on
php_value session.cookie_lifetime 1500
</IfModule>
--
http://www.php.net/manual/en/configuration.php
http://master.php.net/manage/user-notes.php?action=edit+17602
http://master.php.net/manage/user-notes.php?action=delete+17602
http://master.php.net/manage/user-notes.php?action=reject+17602