Re: Debuggin PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux