Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #15424

Re: 500 internal server error

From "J.O. Aho" <user@example.net>
Newsgroups comp.lang.php
Subject Re: 500 internal server error
Date 2015-06-06 09:33 +0200
Message-ID <ctfm21Fb6egU1@mid.individual.net> (permalink)
References (2 earlier) <f0f18b22-659f-4b33-a2ba-7d7222168b06@googlegroups.com> <e5ff5b4f-57df-4ee8-8888-a79cf507aeb0@googlegroups.com> <cd804cdb-d719-40e2-b49a-d01e12110aca@googlegroups.com> <mkqohe$oca$1@solani.org> <7a5c4d25-85f1-4922-ba3c-21fb4074b37b@googlegroups.com>

Show all headers | View raw


On 06/06/15 03:31, jans wrote:


> All of my error settings in php.ini
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> ; Error handling and logging ;
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
>
> ; error_reporting is a bit-field.  Or each number up to get desired error
> ; reporting level
> ;  E_ALL             - All errors and warnings
> ; E_ERROR           - fatal run-time errors
> ; E_WARNING         - run-time warnings (non-fatal errors)
> ; E_PARSE           - compile-time parse errors
> ; E_NOTICE          - run-time notices (these are warnings which often result
> ;                     from a bug in your code, but it's possible that it was
> ;                     intentional (e.g., using an uninitialized variable and
> ;                     relying on the fact it's automatically initialized to an
> ;                     empty string)
> ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
> ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
> ;                     initial startup
> ; E_COMPILE_ERROR   - fatal compile-time errors
> ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
> ; E_USER_ERROR      - user-generated error message
> ; E_USER_WARNING    - user-generated warning message
> ; E_USER_NOTICE     - user-generated notice message
> ;
> ; Examples:
> ;
> ;   - Show all errors, except for notices
> ;
> error_reporting = E_ALL & ~E_NOTICE
> ;
> ;   - Show only errors
> ;
> ;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
> ;
> ;   - Show all errors except for notices
> ;
> error_reporting  =  MAMP_error_reporting_MAMP

You overwrite the settings, remove the one you have added and use the 
'E_ALL & ~E_NOTICE' only.


> display_errors = MAMP_display_errors_MAMP
> display_startup_errors = MAMP_display_startup_errors_MAMP
> log_errors = MAMP_php_log_errors_MAMP

Use 'On' or 'Off' as option


> ; Set maximum length of log_errors. In error_log information about the source is
> ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
> log_errors_max_len = 1024
>
> ; Do not log repeated messages. Repeated errors must occur in same file on same
> ; line until ignore_repeated_source is set true.
> ignore_repeated_errors = Off
>
> ; Ignore source of message when ignoring repeated messages. When this setting
> ; is On you will not log errors with repeated messages from different files or
> ; sourcelines.
> ignore_repeated_source = Off

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

500 internal server error jans <janis.rough@gmail.com> - 2015-06-04 14:06 -0700
  Re: 500 internal server error jans <janis.rough@gmail.com> - 2015-06-04 14:13 -0700
  Re: 500 internal server error Richard Yates <richard@yatesguitar.com> - 2015-06-04 14:21 -0700
  Re: 500 internal server error "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-06-04 23:22 +0200
    Re: 500 internal server error jans <janis.rough@gmail.com> - 2015-06-04 15:04 -0700
      Re: 500 internal server error Richard Yates <richard@yatesguitar.com> - 2015-06-04 16:04 -0700
        Re: 500 internal server error jans <janis.rough@gmail.com> - 2015-06-04 16:17 -0700
          Re: 500 internal server error "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-06-05 01:45 +0200
  Re: 500 internal server error jans <janis.rough@gmail.com> - 2015-06-04 14:37 -0700
    Re: 500 internal server error jans <janis.rough@gmail.com> - 2015-06-04 14:43 -0700
      Re: 500 internal server error jans <janis.rough@gmail.com> - 2015-06-04 14:44 -0700
        Re: 500 internal server error jans <janis.rough@gmail.com> - 2015-06-04 15:05 -0700
          Re: 500 internal server error "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-06-05 01:55 +0200
            Re: 500 internal server error jans <janis.rough@gmail.com> - 2015-06-05 18:31 -0700
              Re: 500 internal server error "J.O. Aho" <user@example.net> - 2015-06-06 09:33 +0200
                Re: 500 internal server error jans <janis.rough@gmail.com> - 2015-06-06 00:54 -0700
                Re: 500 internal server error jans <janis.rough@gmail.com> - 2015-06-06 00:59 -0700
                Re: 500 internal server error "J.O. Aho" <user@example.net> - 2015-06-06 16:13 +0200
                Re: 500 internal server error jans <janis.rough@gmail.com> - 2015-06-06 07:20 -0700
                Re: 500 internal server error jans <janis.rough@gmail.com> - 2015-06-06 07:21 -0700
                Re: 500 internal server error "J.O. Aho" <user@example.net> - 2015-06-06 22:45 +0200
                Re: 500 internal server error jans <janis.rough@gmail.com> - 2015-06-06 07:21 -0700

csiph-web