[PHP-DOC] #16217 [Opn]: syslog functions and exit functions are buggy
ID: 16217 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Documentation problem Operating System: windows NT 4/ win2000 pro/server PHP Version: 4.2.1 New Comment: i get the same crash with php 4.2.3. without exit call at end of script. Ok for the documentation error Previous Comments: [2002-08-30 14:47:39] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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 [2002-03-22 04:29:02] [EMAIL PROTECTED] 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. [2002-03-22 04:01:06] [EMAIL PROTECTED] 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? 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 -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] #16217 [Opn]: syslog functions and exit functions are buggy
ID: 16217 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Documentation problem Operating System: windows NT 4/ win2000 pro/server PHP Version: 4.2.1 New Comment: Actually that's LOG_LOCAL0 through LOG_LOCAL7 that are not avaliable. I made a typo in my previous comment. Previous Comments: [2002-08-30 14:35:06] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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 [2002-03-22 04:29:02] [EMAIL PROTECTED] 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. [2002-03-22 04:01:06] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] Hello, Apache crash on windows platform when i use syslog functions ( openlog, syslog, closelog) and exit(). the script is: 1: 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 -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] #16217 [Opn]: syslog functions and exit functions are buggy
ID: 16217 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open -Bug Type: Reproducible crash +Bug Type: Documentation problem Operating System: windows NT 4/ win2000 pro/server PHP Version: 4.2.1 New Comment: 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. Previous Comments: [2002-06-10 04:33:37] [EMAIL PROTECTED] 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 [2002-03-22 04:29:02] [EMAIL PROTECTED] 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. [2002-03-22 04:01:06] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] Hello, Apache crash on windows platform when i use syslog functions ( openlog, syslog, closelog) and exit(). the script is: 1: 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 -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php