FAQ
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@gmail.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@gmail.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@gmail.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@gmail.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.


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

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 5 of 8 | next ›
Discussion Overview
groupphp-bugs @
categoriesphp
postedMar 26, '15 at 11:55a
activeMar 28, '15 at 12:51p
posts8
users4
websitephp.net

People

Translate

site design / logo © 2017 Grokbase