Results 1 to 4 of 4
Hi
I know it is possible to have apache give output when there is a mistake in a pages php coding, , but I can't find how to turn it ...
- 02-10-2010 #1Just Joined!
- Join Date
- Sep 2005
- Location
- Newark England
- Posts
- 2
[SOLVED] Apache PHP and HTML debug output
Hi
I know it is possible to have apache give output when there is a mistake in a pages php coding, , but I can't find how to turn it on. Can anyone advice me on how to do so please.
Thanks
Michael
- 02-11-2010 #2
i believe you have to turn off safe_mode inside of php.ini for real in depth stuff. otherwise all php errors should be dumped into the error log of apache
linux user # 503963
- 02-11-2010 #3
In php you can also add the following to a script to temporarily display debug info which is not a good idea on a live server.
You may also want to take a look at firebug and firephp. Or if your editor can handle it xdebug.Code:ini_set('display_errors', '1'); error_reporting(E_ALL);
If you want to look for errors in X-HTML, use firefox and install a validator plug-inIf we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)
My new blog. It's probably not as good as I think it is.
- 02-12-2010 #4Just Joined!
- Join Date
- Sep 2005
- Location
- Newark England
- Posts
- 2
Thanks Scathefire & Elija. Problem solved.


