Bug #16217 Updated: syslog functions and exit functions are buggy

From: Date: Fri, 22 Mar 2002 09:29:03 +0000
Subject: Bug #16217 Updated: syslog functions and exit functions are buggy
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-3130@lists.php.net to get a copy of this message
ID: 16217 Updated by: f.labanvoye@cg70.fr Reported By: f.labanvoye@cg70.fr Status: Feedback Bug Type: Reproducible crash Operating System: windows NT 4/ win2000 pro PHP Version: 4.1.1 New Comment: Crash appear with the php module, not with cgi version. with module and without extensions, apache always crash... So this bugs is related to apache module. I don't test with php 4.1.2 and on linux, it seems to be ok. Previous Comments: ------------------------------------------------------------------------ [2002-03-22 04:01:06] mfischer@php.net Does this also happen if you only use the CGI version on command line and as less modules (i.e. no ldp/oci8/whatever) as possible? ------------------------------------------------------------------------ [2002-03-22 03:22:58] f.labanvoye@cg70.fr Hello, Apache crash on windows platform when i use syslog functions ( openlog, syslog, closelog) and exit(). the script is: 1: <?php 2: define_syslog_variables(); 3: openlog("Test", LOG_PID | LOG_PERROR, LOG_LOCAL0); 4: syslog(LOG_WARNING,"Essai de log"); 5: closelog(); 6: exit(); 7: ?> if i comment line 5 and 6, it's works fine. if i comment line 3, 4, 5 , apache crash after few reload or navigation between index page and this script. if i comment line 6, apache crash in the same case as above... config: w2k pro sp2 apache 1.3.22 ( start in commmand line or as service ) php 4.1.1 + ldap + oci8 (8.1.7) win nt 4 sp 6 apache 1.3.22 php 4.1.0 + ldap + oci8 (8.1.6) thanks for your comment. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16217&edit=1

« previous php.bugs (#3130) next »