php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29026 Error reporting not working
Submitted: 2004-07-06 02:07 UTC Modified: 2004-07-07 09:18 UTC
From: torr0101 at hotmail dot com Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 5.0.0RC3 OS: Windows 2003 Standard
Private report: No CVE-ID: None
 [2004-07-06 02:07 UTC] torr0101 at hotmail dot com
Description:
------------
I've set error_reporting to E_ALL in php.ini.  I've set the log to error_log = "C:\Windows\php_errors.log".  Nothing happens even if I force an error.  No response in the browser, and no log created. phpinfo() works fine. Good code works. Impossible to debug without error reports, though.

Reproduce code:
---------------
<?php 
  echo "Hey";
  ougiygyug
?>


Expected result:
----------------
an error

Actual result:
--------------
outputs Hey to the browser.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-07-07 03:34 UTC] torr0101 at hotmail dot com
I switched to the mysqli extension and everything works. Still, it's strange...
 [2004-07-07 09:18 UTC] derick@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

Use error_reporting(E_ALL) and you see that it\'s not broken at all.
 [2011-07-18 01:37 UTC] jason at blst dot com
display_errors = On in php.ini
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 04 14:01:32 2024 UTC