Re: Error Reporting

From: Date: Mon, 28 Jun 2004 12:50:24 +0000
Subject: Re: Error Reporting
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-189154@lists.php.net to get a copy of this message
Tom Chubb wrote:
I ave a strange problem with my error reporting! I have set php.ini to: error_reporting = E_ALL but I don't see any errors. (After I was happy things were working on my Apache Test Server, I uploaded to my web host and discovered errors.) Thanks, Tom
Make sure that "display_errors" in your php.ini is set to "On". You might also use ini_set() to set it to "On" at the beginning of each of your scripts. Some prepend-file is suggested. Note (php.ini): "For production web sites, you're strongly encouraged to turn this feature off, and use error logging instead (see below). Keeping display_errors enabled on a production web site may reveal security information to end users, such as file paths on your Web server, your database schema or other information." -- WWE e-commerce IT GmbH Eiffestrasse 462, D-20537 Hamburg Tel.: +49-40-2530659-0, Fax: +49-40-2530659-50

« previous php.general (#189154) next »