PHP 4.0 Bug #6538 Updated: ini_alter/ini_set of some session options generates core dump
| From: | Bug Database | Date: | Tue, 05 Sep 2000 18:40:41 +0000 |
| Subject: | PHP 4.0 Bug #6538 Updated: ini_alter/ini_set of some session options generates core dump | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-32219@lists.php.net to get a copy of this message | ||
ID: 6538
Updated by: stas
Reported By: jmcastagnetto@zkey.net
Status: Closed
Bug Type: Reproduceable crash
Assigned To:
Comments:
Should be fixed in CVS, please verify.
Previous Comments:
[2000-09-04 16:41:02] jmcastagnetto@zkey.net
Script:
<?php
function t ($s, $val, $test=false) {
echo $s." : ".ini_get($s)."n";
$old = ini_set($s,$val);
if ($old == false && $test)
echo "tcould not change ini settingn";
echo $s." : ".ini_get($s)."n";
ini_alter($s, $old);
echo $s." : ".ini_get($s)."n";
}
// following line dumps core
t("session.cookie_domain","php.net");
// next line will dump core too
// t("session.cookie_path","/application");
?>
Config:
./configure --with-gd=/usr/local/gd1.3
--with-config-file-path=/usr/local/php4
--enable-track-vars
--enable-magic-quotes --enable-bcmath
--with-mysql --with-xml
--enable-wddx
--enable-sockets --enable-sysvsem
--enable-sysvshm --enable-yp
--enable-inline-optimization
--enable-calendar --enable-ftp
--enable-trans-sid
--with-pgsql=/usr/local/pgsql/
I am using the Zend optimizer:
[php.ini]
magic_quotes_gpc=0
max_execution_time=300
error_log=/usr/local/apache/logs/php_error_log
zend_optimizer.optimization_level=15
zend_extension="/usr/local/Zend/lib/ZendOptimizer.so
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6538