#32299 [NEW]: The errors aren't shown at all
| From: | poison at telenet dot be | Date: | Mon, 14 Mar 2005 11:42:34 +0000 |
| Subject: | #32299 [NEW]: The errors aren't shown at all | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-75308@lists.php.net to get a copy of this message | ||
From: poison at telenet dot be
Operating system: Linux
PHP version: 4.3.10
PHP Bug Type: Output Control
Bug description: The errors aren't shown at all
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 bug report at http://bugs.php.net/?id=32299&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32299&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32299&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32299&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=32299&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=32299&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=32299&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=32299&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=32299&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=32299&r=support
Expected behavior: http://bugs.php.net/fix.php?id=32299&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=32299&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=32299&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=32299&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32299&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=32299&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=32299&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=32299&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=32299&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=32299&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=32299&r=mysqlcfg