Solved - Re: Lack of PHP syntax errors on FC4

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

 



On Wednesday 21 December 2005 15:30, Gary Stainburn wrote:
> Hi folks.
>
> I know that the php.ini file has been changed for version 5 (as installed
> on a FC4 server) so that errors don't get dumped to the browser, but go
> only to the logs.
>
> However, they're not going to the logs, and if I temporarily change
> display_errors = On they don't appear in the browser either.
>
> All I get at the browser is a blank
> '<html><head></head><body></body></html>' document.
>
> Any ideas what else I need to do to get the errors output?
>
> I've googled, but while there's haystacks on error handling there are no
> needles that are useful.
>
> Gary

Turned out to be the default entry in php.ini

error_reporting  =  E_ALL & E_STRICT

Changed it to 

error_reporting  =  E_ALL | E_STRICT

and all's right with the world. It's logging to both the log file and the 
browser (which I can now turn off again)

-- 
Gary Stainburn
 
This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000     


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux