when php scripts got error, the error usually goes to the apache error log (ubuntu setup).
how can i config the server so that the error will be directly output to the page, just like XAMPP is doing.
thanks in advance!
(the error i am referring to is php error. so that i can debug my php code easily)