Solved

CENT OS php.ini

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
These days socially coordinated efforts have turned into a critical requirement for enterprises.
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

896 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

15 Experts available now in Live!

Get 1:1 Help Now