Recent Changes - Search:




Main.DisablePhpWarningsHowDoYouDisableWarningsInPHP History

Hide minor edits - Show changes to output

April 13, 2007, at 02:22 PM by -
Added lines 1-14:
*Disable php warnings How do you disable warnings in PHP?

For cpanel with Zend optimizer.

vi /usr/local/Zend/etc/php.ini

; Print out errors (as a part of the output). 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.

display_errors = Off
Edit - History - Print - Recent Changes - Search
Page last modified on April 13, 2007, at 02:22 PM