#23711 [Opn->Csd]: Any script containing a parse_ini_file() call results in a segmentation fault

From: Date: Tue, 20 May 2003 10:23:20 +0000
Subject: #23711 [Opn->Csd]: Any script containing a parse_ini_file() call results in a segmentation fault
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-40024@lists.php.net to get a copy of this message
ID: 23711 Updated by: derick@php.net Reported By: gavin dot brown at uk dot com, rael at wibble dot org dot uk -Status: Open +Status: Closed Bug Type: Reproducible crash Operating System: Linux PHP Version: 4.3.2RC3 New Comment: Concurrent access ;) Previous Comments: ------------------------------------------------------------------------ [2003-05-20 05:22:19] gavin dot brown at uk dot com, rael at wibble dot org dot uk This snapshot appears work properly. Both the php module and the CLI work correctly and don't segfault. Should just mention that this is with Apache 1.3.27, whereas Colin uses Apache 2. ------------------------------------------------------------------------ [2003-05-20 05:22:08] derick@php.net Good, let's close this bug then. If you feel the apache 2 thing a bug too, please file a new one (but only if you are sure it's a bug ;) ). Derick ------------------------------------------------------------------------ [2003-05-20 05:12:08] rael at wibble dot org dot duk The snapshot php4-STABLE-200305200930 did the trick for the CLI, although i've not been able to get apache to load via a install using --with-mysql --apxs2=... [root@spoon rael]# /usr/local/bin/php -v PHP 4.3.2RC4-dev (cli) (built: May 20 2003 11:06:00) Copyright (c) 1997-2003 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies [root@spoon rael]# /usr/local/bin/php parse_ini_file_demo.php Date: Tue, 20 May 2003 11:09:08 +0100 This string is printed before parsing. This string is printed after parsing. $parsed looks like this: Array ( [foo] => bar [name] => value [time] => money [knowledge] => power ) ------------------------------------------------------------------------ [2003-05-20 04:52:32] derick@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2003-05-20 04:49:18] gavin dot brown at uk dot com, rael at wibble dot org dot uk changing email address. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/23711 -- Edit this bug report at http://bugs.php.net/?id=23711&edit=1

« previous php.bugs (#40024) next »