Solved

CENT OS php.ini

Posted on 2014-09-05
1
139 Views
Last Modified: 2014-09-06
For some reason on my application I always see the SQL queries and any error reports that I do not need. How can I turn it off? It's somewhere here I think:

define("EW_DEBUG_ENABLED", FALSE, TRUE); // TRUE to debug
if (EW_DEBUG_ENABLED) {
      @ini_set("display_errors", "1"); // Display errors
      error_reporting(E_ALL ^ E_NOTICE); // Report all errors except E_NOTICE
}

I need to turn off this error stuff....
0
Comment
Question by:Starquest321
1 Comment
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
ID: 40307069
In php.ini look for
error_reporting
and set it to off

error_reporting = off  
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
The viewer will learn how to count occurrences of each item in an array.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question