ID:               32299
 User updated by:  poison at telenet dot be
 Reported By:      poison at telenet dot be
-Status:           Feedback
+Status:           Open
 Bug Type:         Output Control
 Operating System: Linux
 PHP Version:      4.3.10
 New Comment:

What other info should I provide?

I've recompiled apache and php and I still get no errors :s
What should I do?


Previous Comments:
------------------------------------------------------------------------

[2005-03-15 11:08:44] [EMAIL PROTECTED]

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...

------------------------------------------------------------------------

[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] [EMAIL PROTECTED]

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:
[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