Bug #69307 [Nab]: PHP Errors and Warnings are not displayed

From: Date: Sat, 28 Mar 2015 04:07:34 +0000
Subject: Bug #69307 [Nab]: PHP Errors and Warnings are not displayed
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-191655@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69307&edit=1

 ID:                 69307
 Updated by:         requinix@php.net
 Reported by:        harikrishnan dot vkm186 at gmail dot com
 Summary:            PHP Errors and Warnings are not displayed
 Status:             Not a bug
 Type:               Bug
 Package:            PHP options/info functions
 Operating System:   Ubuntu 14.04 LTS
 PHP Version:        5.5.23
 Block user comment: N
 Private report:     N

 New Comment:

As cmb's code showed, display_errors is off. Maybe you edited the wrong php.ini. Maybe you
didn't restart the web server after changing it. Maybe you edited the setting in the
description area at the top of the file, rather than the actual entry further down.
But the setting is definitely off.


Previous Comments:
------------------------------------------------------------------------
[2015-03-28 03:48:28] harikrishnan dot vkm186 at gmail dot com

But in php.ini it's enabled. 
display_errors = On

Also it's Default Value: On as per comments in php.ini

------------------------------------------------------------------------
[2015-03-27 07:08:24] rasmus@php.net

You have display_errors disabled and errors are not being displayed. Everything appears to work as
expected here.

------------------------------------------------------------------------
[2015-03-27 04:54:48] harikrishnan dot vkm186 at gmail dot com

This was the result.

int(32767)
string(0) ""

------------------------------------------------------------------------
[2015-03-26 12:21:50] cmb@php.net

Please execute the following script by requesting it with a
browser and report back its results:

    <?php
    
    var_dump(error_reporting());
    var_dump(ini_get('display_errors'));

------------------------------------------------------------------------
[2015-03-26 12:01:28] harikrishnan dot vkm186 at gmail dot com

The exact php veron is PHP 5.5.9-1ubuntu4.4 (cli) (built: Sep  4 2014 06:56:34)

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


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=69307


--
Edit this bug report at https://bugs.php.net/bug.php?id=69307&edit=1


Thread (8 messages)

« previous php.bugs (#191655) next »