Results 1 to 4 of 4

Thread: PHP suppress warnings

  1. #1
    Join Date
    Jan 2009
    Posts
    21

    PHP suppress warnings

    Hi

    I am learning php programming language. On my computer i install some application but when i run php application i get the errors. so is anyone know how to suppress PHP warnings ?

  2. #2
    Join Date
    Oct 2008
    Posts
    54

    Re: PHP suppress warnings

    Which error you are getting if you are getting display_errors This determines whether errors should be printed to the screen as part of the output or if they should be hidden from the user. Value "stderr" sends the errors to stderr instead of stdout. The value is available as of PHP 5.2.4. In earlier versions, this directive was of type boolean.

  3. #3
    Join Date
    Oct 2008
    Posts
    73

    Re: PHP suppress warnings

    error_reporting integer

    Set the error reporting level. The parameter is either an integer representing a bit field, or named constants. The error_reporting levels and constants are described in Predefined Constants, and in php.ini. To set at runtime, use the error_reporting() function. See also the display_errors directive.

    In PHP 4 and PHP 5 the default value is E_ALL & ~E_NOTICE. This setting does not show E_NOTICE level errors. You may want to show them during development.

  4. #4
    Join Date
    Dec 2008
    Posts
    51

    Re: PHP suppress warnings

    error_log string

    Name of the file where script errors should be logged. The file should be writable by the web server's user. If the special value syslog is used, the errors are sent to the system logger instead. On Unix, this means syslog(3) and on Windows NT it means the event log. The system logger is not supported on Windows 95. See also: syslog(). If this directive is not set, errors are sent to the SAPI error logger. For example, it is an error log in Apache or stderr in CLI.

Similar Threads

  1. Getting several Avast warnings
    By Cheenu in forum Networking & Security
    Replies: 5
    Last Post: 16-07-2011, 07:12 PM
  2. Ms Word Macro to suppress warnings
    By OmegaZiv in forum MS Office Support
    Replies: 1
    Last Post: 27-04-2011, 05:14 AM
  3. How to suppress command prompt in vbscript
    By vivekmohan in forum Software Development
    Replies: 2
    Last Post: 14-07-2009, 10:30 AM
  4. Suppress Office 2007 activation
    By One thought in forum Tips & Tweaks
    Replies: 3
    Last Post: 28-05-2009, 12:07 PM
  5. Replies: 4
    Last Post: 13-11-2008, 08:49 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,561,130.31265 seconds with 17 queries