#16217 [Opn->Csd]: syslog functions and exit functions are buggy

From: Date: Sat, 18 Jan 2003 23:53:06 +0000
Subject: #16217 [Opn->Csd]: syslog functions and exit functions are buggy
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969351034@lists.php.net to get a copy of this message
ID: 16217 Updated by: philip@php.net Reported By: f.labanvoye@cg70.fr -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: windows NT 4/ win2000 pro/server PHP Version: 4.3.0pre1 New Comment: This information has been documented in a couple places: http://cvs.php.net/cvs.php/phpdoc/en/reference/network/functions/syslog.xml http://cvs.php.net/cvs.php/phpdoc/en/reference/network/functions/openlog.xml Thanks for the report :) Previous Comments: ------------------------------------------------------------------------ [2002-10-28 03:03:12] f.labanvoye@cg70.fr i rerun test with php 4.30pre1 and i see this version is more stable. apache doesn't crash, but i get popup message like this : instruction at 0x100d4ebd ..... memory could not written. but the hexa value seems to change if i run apache in command line or like service, or sith a different version (like 2.0.43). ------------------------------------------------------------------------ [2002-09-20 03:39:13] f.labanvoye@cg70.fr i get the same crash with php 4.2.3. without exit call at end of script. Ok for the documentation error ------------------------------------------------------------------------ [2002-08-30 14:47:39] iliaa@php.net Actually that's LOG_LOCAL0 through LOG_LOCAL7 that are not avaliable. I made a typo in my previous comment. ------------------------------------------------------------------------ [2002-08-30 14:35:06] iliaa@php.net I cannot replicate the crash. However, there is a definate problem with the docs for openlog() functions. On win32 LOCAL_LOG0 through LOCAL_LOG7 are not avaliable. In fact the openlog line in the example returns a warning about the 3rd parameter being invalid. The openlog facilities should be better documented, mentioning which are *nix specific, win32 specific and which are common. ------------------------------------------------------------------------ [2002-06-10 04:33:37] f.labanvoye@cg70.fr platform : apache 1.3.24 / php 4.2.1 / w2k SP2 I test on php 4.2.1 and there are some difference. The exit function seem to not cause bug, but the closelog crash apache (drwatson is started...). This appear when i reload one or two times the script. all works fine when i comment closelog. No problem on linux ------------------------------------------------------------------------ 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/16217 -- Edit this bug report at http://bugs.php.net/?id=16217&edit=1

« previous php.doc (#969351034) next »