Solved

CENT OS php.ini

Posted on 2014-09-05
1
136 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
This article discusses four methods for overlaying images in a container on a web page
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

760 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now