FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Firefox PHP error report
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Firefox PHP error report [message #173355 is a reply to message #173352] Mon, 04 April 2011 16:10 Go to previous messageGo to previous message
Robert Heller is currently offline  Robert Heller
Messages: 60
Registered: December 2010
Karma:
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
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Hourly script
Next Topic: Using imagettfbbox with Arial Bold
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 22:44:32 GMT 2024

Total time taken to generate the page: 0.05077 seconds