From:             [EMAIL PROTECTED]
Operating system: redhat 6.2
PHP version:      4.2.1
PHP Bug Type:     Unknown/Other Function
Bug description:  error reporting is dead

just upgraded php-4.0.6 to 4.2.1 on my linux box with apache 1.3.24
i also used the 4.2.1 ini-recommended.

config:
'./configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-imap'
'--with-mysql' '--enable-track-vars' '--with-openssl=/usr/local/ssl'
'--enable-sockets' '--with-xml' '--with-zlib'
'--with-java=/usr/local/j2sdk1.4.0'

problem is that whenever an error occures nothing happens, no warnings, no
errors.
the browser actually doesnt receive any data at all.

code example:
------------------------------
<?
error_reporting(E_ALL);
?>
thank you
<?
errrrrrrrroooorrrrrrr
error_log ("You messed up!", 3, "/var/tmp/my-errors.log");
?>
you're welcome
---------------------------
this code also logs nothing to file,
error_reporting(E_ALL) doesnt matter either.

i also have exactly the same problem on my local win2000 box running
php4.3.0-dev from some time ago with apache 1.3.24, it just sends nothing
to the browser or to the my errors file.

so,
if the code is correct, php seems to be running fine but if there are
errors in the code nothing happens.

.....
i just ran a test on another win2000 box with IIS 5 and php-4.2.1 CGI
version and that seems to work like it is suppost to:
Parse error: parse error, unexpected T_STRING in
C:\Inetpub\www.xxxxx.com\wwwroot\untitled.php on line 11
(pffff, the first time i was glad to see an error)
 
has this maybe something to do with apache 1.3.24??
-- 
Edit bug report at http://bugs.php.net/?id=17542&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=17542&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=17542&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=17542&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=17542&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17542&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=17542&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=17542&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=17542&r=submittedtwice
register_globals:    http://bugs.php.net/fix.php?id=17542&r=globals

Reply via email to