|  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
 [2008-10-17 13:45 UTC] jf dot cuinet at bgpartners dot fr
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:
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:


Add a Patch

Pull Requests

Add a Pull Request


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-2021 The PHP Group
All rights reserved.
Last updated: Thu May 13 17:01:24 2021 UTC