#32299 [Opn->Fbk]: The errors aren't shown at all

From: Date: Tue, 15 Mar 2005 10:08:45 +0000
Subject: #32299 [Opn->Fbk]: The errors aren't shown at all
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-75367@lists.php.net to get a copy of this message
ID: 32299 Updated by: derick@php.net Reported By: poison at telenet dot be -Status: Open +Status: Feedback Bug Type: Output Control Operating System: Linux PHP Version: 4.3.10 New Comment: Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. Works fine here... Previous Comments: ------------------------------------------------------------------------ [2005-03-15 10:44:00] poison at telenet dot be I asked for support in the #PHP channel on FreeNode and they suggested to submit a bug. We've tried everything and I get no error messages. ------------------------------------------------------------------------ [2005-03-14 21:17:22] sniper@php.net Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Even if you think it is not a bug, we often know better than you, please consult the support channels first before even considering to reopen this report. Thank you for your interest in PHP. ------------------------------------------------------------------------ [2005-03-14 12:42:33] poison at telenet dot be Description: ------------ When I run a script as <?php error (); ?> I don't see anything. Error outputting doesn't work at all. Although everything in my php.ini is set as appropriate and I recompiled the whole php with new downloaded tarballs and with ./configure --with-apxs2=/usr/local/apache2/bin/apxs --disable-all I replaced my php.ini by the php.ini-dist and still got the problem. The strange thing is that it works in the CLI but not with apache Output from browser: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"></HEAD> <BODY></BODY></HTML> Output from CLI: toolserver@control:~/ToolServer$ php -f error.php Fatal error: Call to undefined function: error() in /home/toolserver/ToolServer/error.php on line 3 Reproduce code: --------------- ./configure --with-apxs2=/usr/local/apache2/bin/apxs --disable-all make make install cp php.ini-dist /usr/local/lib/php.ini /usr/local/apache2/bin/apachectl restart Expected result: ---------------- Fatal error: Call to undefined function: error() in /home/toolserver/ToolServer/error.php on line 3 Actual result: -------------- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"></HEAD> <BODY></BODY></HTML> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32299&edit=1

« previous php.bugs (#75367) next »