|
Posted by Richard Levasseur on 11/29/93 11:52
flamer die.spam@hotmail.com wrote:
> yawnmoth wrote:
>
> > I have two servers that have had PHP installed on them and...
> >
> > <?php
> > echo 'hello, world!
> > ?>
> >
> > ...displays a parse error on server A and doesn't display anything on
> > server B.
> >
> > Any ideas as to what the problem is?
>
> Oh sorry, just read your question, thought you meant it worked on one
> and not the other now I see it doesnt work on either, yes it wont, use
> code as above, one php is set to output error to screen, the other, you
> will probably find a file in the dir the script is in called error.log
> and that will contain the error message there (which is a better option
> for production servers).
>
> Flamer.
Errors are also logged to the apache log file, usually someplace in
/var/log. if you're on a shared host or something, they usually
provide a symlink or something to the logging directory.
Navigation:
[Reply to this message]
|