#32299 [Opn->Bgs]: The errors aren't shown at all
| From: | sniper@php.net | Date: | Mon, 14 Mar 2005 20:17:22 +0000 |
| Subject: | #32299 [Opn->Bgs]: The errors aren't shown at all | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-75320@lists.php.net to get a copy of this message | ||
ID: 32299
Updated by: sniper@php.net
Reported By: poison at telenet dot be
-Status: Open
+Status: Bogus
Bug Type: Output Control
Operating System: Linux
PHP Version: 4.3.10
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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