Home »
Imported messages »
comp.lang.php »
Firefox PHP error report
Firefox PHP error report [message #173352] |
Mon, 04 April 2011 14:43  |
bruceaj
Messages: 30 Registered: September 2010
Karma: 0
|
Member |
|
|
I seem to recall that there was a set options in Firefox so that PHP
errors would be reported. Appreciate it greatly if someone could tell
me how to set these options..
Thanks..
Bruce
|
|
|
|
|
Re: Firefox PHP error report [message #173355 is a reply to message #173352] |
Mon, 04 April 2011 16:10   |
Robert Heller
Messages: 60 Registered: December 2010
Karma: 0
|
Member |
|
|
At Mon, 4 Apr 2011 07:43:16 -0700 (PDT) bruceaj <bruceaj(at)bellsouth(dot)net> wrote:
>
> I seem to recall that there was a set options in Firefox so that PHP
> errors would be reported. Appreciate it greatly if someone could tell
> me how to set these options..
What you want to do is edit /etc/php.ini *on the server* to include:
; Print out errors (as a part of the output). For production web sites,
; you're strongly encouraged to turn this feature off, and use error logging
; instead (see below). Keeping display_errors enabled on a production web site
; may reveal security information to end users, such as file paths on your Web
; server, your database schema or other information.
display_errors = On
; Even when display_errors is on, errors that occur during PHP's startup
; sequence are not displayed. It's strongly recommended to keep
; display_startup_errors off, except for when debugging.
display_startup_errors = On
Note the warnings. The above is from a developmental system that is
not exposed to the public Internet (actually my Linux desktop system,
that has Apache, PHP, MySQL, etc. installed and has a mirror of my
company website on it).
>
> Thanks..
>
> Bruce
>
--
Robert Heller -- 978-544-6933 / heller(at)deepsoft(dot)com
Deepwoods Software -- http://www.deepsoft.com/
() ascii ribbon campaign -- against html e-mail
/\ www.asciiribbon.org -- against proprietary attachments
|
|
|
|
Re: Firefox PHP error report [message #173358 is a reply to message #173357] |
Mon, 04 April 2011 19:13  |
bruceaj
Messages: 30 Registered: September 2010
Karma: 0
|
Member |
|
|
On Apr 4, 2:27 pm, crankypuss <n...@email.thanks> wrote:
> bruceaj <bruc...@bellsouth.net> wrote:
>> I seem to recall that there was a set options in Firefox so that PHP
>> errors would be reported. Appreciate it greatly if someone could tell
>> me how to set these options..
>
>> Thanks..
>
>> Bruce
>
> There's a PHP setting that controls the level of error reporting,
> determined by php.ini or dynamically set via error_reporting().
>
> You might be thinking of the FireFox "live headers" plugin doodad that
> will show you the http headers returned by any server, not just one
> that happens to be running PHP.
>
> But nekkid FireFox can't tell the PHP interpreter on the server what
> errors it ought to report.
>
> --
> no aluminum siding offers today
Thanks to all. I think I was "Thinking" about the php.ini settings...
Appreciate all the responses..
Bruce
|
|
|
Goto Forum:
Current Time: Tue Apr 08 07:06:01 GMT 2025
Total time taken to generate the page: 0.05622 seconds