php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #46330 No error reporting
Submitted: 2008-10-17 13:45 UTC Modified: 2008-10-17 14:07 UTC
From: jf dot cuinet at bgpartners dot fr Assigned:
Status: Closed Package: PHP options/info functions
PHP Version: 5.2.6 OS: Fedora 9, AIX5.2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jf dot cuinet at bgpartners dot fr
New email:
PHP Version: OS:

 

 [2008-10-17 13:45 UTC] jf dot cuinet at bgpartners dot fr
Description:
------------
Hello. 
I never display errors. Neither on screen nor in the php.log.

PHP Configure command for Linux :
./configure' '--prefix=/usr/local/php' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-config-file-path=/etc' '--enable-mbstring' '--enable-ftp' '--with-mysql=/usr/local/mysql' '--with-mysqli=/usr/local/mysql/bin/mysql_config' '--with-zlib' '--with-regex=system' '--with-openssl' '--with-gd' '--with-curl' '--with-imap=/usr/local/imap-2007b' '--with-freetype-dir=/usr/lib' '--with-jpeg-dir=/usr/lib' '--disable-ipv6

PHP Configure command for AIX5.2 :
./configure' '--prefix=/opt/freeware/php' '--with-apxs2=/opt/freeware/apache2/bin/apxs' '--with-config-file-path=/etc' '--enable-mbstring' '--enable-ftp' '--with-mysql=/opt/freeware/mysql' '--with-mysqli=/opt/freeware/mysql/bin/mysql_config' '--with-zlib' '--with-regex=system' '--with-openssl=/opt/freeware' '--with-gd' '--with-curl' '--with-imap=/opt/freeware/imap-2007b' '--with-freetype-dir=/opt/freeware/lib' '--with-jpeg-dir=/opt/freeware/lib' '--disable-ipv6

You have an idea?


Reproduce code:
---------------
<?php                                                     
                                                          
trigger_error('I WANT A LOG !', E_USER_WARNING);
                                                          
?>                                                        

Expected result:
----------------
An error text 'I WANT A LOG !' on screen and in file php.log.

Actual result:
--------------
Nothing

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-10-17 13:55 UTC] jf dot cuinet at bgpartners dot fr
php.ini :
error_reporting  =  E_ALL & E_STRICT
display_errors = On
log_errors = On
error_log = /usr/local/apache2/logs/php.log
 [2008-10-17 14:07 UTC] jf dot cuinet at bgpartners dot fr
oups !!!

error_reporting  =  E_ALL | E_STRICT
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 07:01:28 2024 UTC