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

From: Date: Fri, 27 Mar 2015 07:08:25 +0000
Subject: Bug #69307 [Opn->Nab]: PHP Errors and Warnings are not displayed
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-191635@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:         rasmus@php.net
 Reported by:        harikrishnan dot vkm186 at gmail dot com
 Summary:            PHP Errors and Warnings are not displayed
-Status:             Open
+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:

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


Previous Comments:
------------------------------------------------------------------------
[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)

------------------------------------------------------------------------
[2015-03-26 11:55:52] harikrishnan dot vkm186 at gmail dot com

Description:
------------
No PHP errors are displayed when I execute php script via browser even if php error_reporting is set
to E_ALL in php.ini . But it displays correctly when I execute the same via shell.

Test script:
---------------
Made syntax error in a php script and executed it via  web browser.

Expected result:
----------------
Errors are getting displayed if there is any.

Actual result:
--------------
No Errors or warnings,notices are displayed.


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



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


Thread (8 messages)

« previous php.bugs (#191635) next »