On 4/26/06, hicham <hichamlinux@xxxxxxxxx> wrote: > > Hello > I'm a newbie in php world , and I'm trying to get a php 4 script work > on an php5 version > how do i debug php ? I get a blank page and nothing tells me what 's wrong > ? > > Thanks > hicham > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > (Assuming you're on *nix) One thing I always do when I'm developing is to locate the error log that PHP writes to. You can find it by looking at error_log in php.ini or find where Apache writes errors to. Then I just tail -f that so that I can see any errors including parse errors that just give you that no-ouput white screen. As others have mentioned always keep error_reporting to E_ALL.