PHP 4.0 Bug #5011: get_cfg_var doesn't return anything

From: Date: Tue, 13 Jun 2000 19:44:23 +0000
Subject: PHP 4.0 Bug #5011: get_cfg_var doesn't return anything
Groups: php.dev 
Request: Send a blank email to php-dev+get-21240@lists.php.net to get a copy of this message
From: mark.lubratt@indeq.com Operating system: Linux 2.2.5 RedHat 6.0 PHP version: 4.0.0 Release PHP Bug Type: Session related Bug description: get_cfg_var doesn't return anything <? $LIFE = get_cfg_var("session.gc_maxlifetime"); session_start(); echo '-'.$LIFE.'-'; echo '<br><br>'; phpinfo(); ?> This sample script shows that get_cfg_var doesn't return anything into $LIFE. At the top of the page, the two '-'s are right next to each other. In general, sessions work on my machine. I'm running: Apache 1.3.6 Linux 2.2.5 PHP 4.0.0 PHP Configuration: ./configure --with-apxs=/usr/sbin/apxs --with-mysql --enable-ftp --enable-track-vars I can't find a php.ini file on my system. I haven't tried any other configuration variables other than session.gc_maxlifetime. Mark Lubratt

« previous php.dev (#21240) next »