ID:               32299
 Updated by:       [EMAIL PROTECTED]
 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:
[EMAIL PROTECTED]:~/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

Reply via email to