You are here: Re: [PHP] error reporting php-5.0.4-10.4 on FC4 « PHP « IT news, forums, messages
Re: [PHP] error reporting php-5.0.4-10.4 on FC4

Posted by Bob Hartung on 10/24/05 06:01

Jasper & Derek

phpinfo() says:
configuration file path /etc/php.ini

PHP Core
Directive Local Value Master Value

display_errors Off Off
error_log no value no value
log errors on on

Derek's idea sends nothing to the log but does send to the browser.

It seems that /etc/php.ini is not being parsed since it says:

error_reporting = E_ALL
display_errors = On
display_startup_errors = On
log_errors = On

error_log = /var/log/php_error

I'm not sure where to turn at this point, except to get some sleep and
attach this problem again tomorrow night when I return home from work.

Thanks! Update tomorrow

Bob

Jasper Bryant-Greene wrote:
> On Sun, 2005-10-23 at 21:31 -0400, Bob Hartung wrote:
>
>>Jasper
>> If if make a file containing only
>> <?php
>> phpinfo() ;
>> ?>
>> I get what I expected.
>>
>> If I make a file containing
>><?php
>>
>>phpinfo() ;
>>
>>// Now a simple class and a call to the class
>> class Simple()
>
>
> Your error is here ^^ (brackets shouldn't be there)
>
> But PHP should tell you that by throwing a Fatal error. What are the
> values of error_reporting and display_errors that display in the
> phpinfo() output?
>
> By the way, the "<html><body></body></html>" is put there by your
> browser, not PHP. PHP is actually outputting absolutely nothing in the
> response-body.
>

 

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

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