You are here: Re: parse errors being surpressed « PHP Programming Language « IT news, forums, messages
Re: parse errors being surpressed

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация