Click to See Complete Forum and Search --> : PHP Debug Flag


Phill Pafford
11-16-2006, 02:05 PM
I have heard PHP has an option to set a debug mode, and then write all your errors to a file.

Does anyone know how to do this?

mjdamato
11-16-2006, 02:12 PM
There are many common PHP apps and CMS systems that have a debug mode written into them (phpBB, phpNuke, etc.). But, I don't believe php has anything built in. Do a search for debug class and you should find something you can use.

NogDog
11-16-2006, 02:50 PM
There are both configuration settings and PHP functions you can use to control this. This page ([url=http://www.php.net/manual/en/ref.errorfunc.php) is a good place to start to learn about them.