News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Douglas Brown's Blog:
Quick Methods Used for Solving PHP Errors
December 30, 2008 @ 07:57:21

Douglas Brown has posted some hints to help you find errors in your PHP scripts all centered around error reporting settings.

There are several methods to solve errors in PHP code. Sometimes when the user waits to see an output a blank page will be shown if there is an error. To show the errors E_ALL^E_STRICT is used for the PHP 5 version. Contrarily, remaining versions just use E_ALL.

He talks about the log_errors and display_errors settings in your php.ini, the error_reporting function call or a custom error handler as shown in this example from the PHP manual.

0 comments voice your opinion now!
solve locate error errorreporting logerrors displayerrors fatal


blog comments powered by Disqus

Similar Posts

Paul Reinheimer's Blog: PHP BUG - err mm:core: failed to open semaphore file

Ldeveloper Tech Blog: PHP - Fatal error: Uncaught SoapFault exception: Could not connect to host...

PHPMaster.com: Error Handling in PHP

Nexen.net: Error Messages in PHP (a Search)

Lorna Mitchell's Blog: Dealing with MySQL Gone Away in Zend Framework


Community Events





Don't see your event here?
Let us know!


introduction community release library series opinion application package laravel install voicesoftheelephpant podcast version tool security composer language symfony interview framework

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework