Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "J.O. Aho" Newsgroups: comp.lang.php Subject: Re: 500 internal server error Date: Sat, 06 Jun 2015 09:33:22 +0200 Lines: 66 Message-ID: References: <572f737e-484d-412e-a32d-88505b0cdafd@googlegroups.com> <2f02a6f7-058c-4952-a937-ab8f21ad8090@googlegroups.com> <7a5c4d25-85f1-4922-ba3c-21fb4074b37b@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net 8MmkfaZXygEcfvLqaqvcHQ2GfmEw1AmcAdn3jCQxk74DOf/vku Cancel-Lock: sha1:NyqpZIUHNvbjlKOngRmBp3kOpjw= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 In-Reply-To: <7a5c4d25-85f1-4922-ba3c-21fb4074b37b@googlegroups.com> Xref: csiph.com comp.lang.php:15424 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