]>
granicus.if.org Git - php/log
Bob Weinand [Sun, 23 Nov 2014 20:09:31 +0000 (21:09 +0100)]
Fix bug #68446 (bug with constant defaults and type hints)
Remi Collet [Sat, 22 Nov 2014 09:37:22 +0000 (10:37 +0100)]
typo
Remi Collet [Sat, 22 Nov 2014 09:36:54 +0000 (10:36 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
NEWS
Fixed Bug #68478 acess_log don't use prefix
Remi Collet [Sat, 22 Nov 2014 09:36:45 +0000 (10:36 +0100)]
NEWS
Remi Collet [Sat, 22 Nov 2014 09:25:53 +0000 (10:25 +0100)]
Fixed Bug #68478 acess_log don't use prefix
Calling fpm_conf_process_all_pools before fpm_log_open
allow to use fpm_evaluate_full_path and so to honor
global prefix or pool prefix for access.log
Remi Collet [Sat, 22 Nov 2014 09:30:42 +0000 (10:30 +0100)]
NEWS
Remi Collet [Sat, 22 Nov 2014 09:29:51 +0000 (10:29 +0100)]
minor typo in test
Remi Collet [Sat, 22 Nov 2014 09:29:05 +0000 (10:29 +0100)]
add test for global / pool prefix and bug #68478
Remi Collet [Sat, 22 Nov 2014 09:25:53 +0000 (10:25 +0100)]
Fixed Bug #68478 acess_log don't use prefix
Calling fpm_conf_process_all_pools before fpm_log_open
allow to use fpm_evaluate_full_path and so to honor
global prefix or pool prefix for access.log
Stanislav Malyshev [Sat, 22 Nov 2014 08:41:06 +0000 (00:41 -0800)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Revert "made lsapi_main.c compatible with PHP7/phpng ."
Updated NEWS
Stanislav Malyshev [Sat, 22 Nov 2014 08:40:11 +0000 (00:40 -0800)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
Revert "made lsapi_main.c compatible with PHP7/phpng ."
Stanislav Malyshev [Sat, 22 Nov 2014 08:38:04 +0000 (00:38 -0800)]
Revert "made lsapi_main.c compatible with PHP7/phpng ."
This reverts commit
9fb816f45ad9baa46b91514e70f755eb88539e85 .
Not a security-related fix.
Julien Pauli [Fri, 21 Nov 2014 15:17:49 +0000 (16:17 +0100)]
Updated NEWS
Julien Pauli [Fri, 21 Nov 2014 15:16:54 +0000 (16:16 +0100)]
Updated NEWS
Julien Pauli [Fri, 21 Nov 2014 14:50:27 +0000 (15:50 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Fix #68185 - Inconsistent insteadof definition
Conflicts:
Zend/zend_compile.c
Julien Pauli [Wed, 29 Oct 2014 13:39:48 +0000 (14:39 +0100)]
Fix #68185 - Inconsistent insteadof definition
Anatol Belski [Fri, 21 Nov 2014 12:57:46 +0000 (13:57 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
fixed test
Anatol Belski [Fri, 21 Nov 2014 12:56:49 +0000 (13:56 +0100)]
fixed test
on Linux gettext requires a locale to be installed on the system
Remi Collet [Fri, 21 Nov 2014 10:28:20 +0000 (11:28 +0100)]
add test for fastcgi_finish_request()
Anatol Belski [Fri, 21 Nov 2014 09:24:53 +0000 (10:24 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
added test for things done so far for bug #66265
partially fixed bug #66265
forked bug67052.phpt for Windows
Anatol Belski [Fri, 21 Nov 2014 09:22:47 +0000 (10:22 +0100)]
added test for things done so far for bug #66265
Anatol Belski [Fri, 21 Nov 2014 08:57:12 +0000 (09:57 +0100)]
partially fixed bug #66265
NTS mode should additionally use _putenv to satisfy libs like gettext
relying on _getenv. As _putenv isn't thread safe, it wouldn't bring
much for the TS mode as it would change locale across all the threads
and require locking to avoid random fails with concurrent _getenv
calls.
Anatol Belski [Thu, 20 Nov 2014 17:29:14 +0000 (18:29 +0100)]
forked bug67052.phpt for Windows
Remi Collet [Fri, 21 Nov 2014 06:56:48 +0000 (07:56 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
NEWS
Fix bug #68463 listen.allowed_clients can silently result in no allowed access
Raise a warning when listen = hostname used and is resolved as multiple addresses
Remi Collet [Fri, 21 Nov 2014 06:56:39 +0000 (07:56 +0100)]
NEWS
Remi Collet [Thu, 20 Nov 2014 14:14:34 +0000 (15:14 +0100)]
Fix bug #68463 listen.allowed_clients can silently result in no allowed access
Add a "There are no allowed addresses for this pool"
Remi Collet [Thu, 20 Nov 2014 09:15:15 +0000 (10:15 +0100)]
Raise a warning when listen = hostname used and is resolved as multiple addresses
Using getaddrinfo is perhaps not a good idea... if we are not able
to listen on multiple addresses...
At least this message should help to diagnose problem, ex
... Found address for localhost, socket opened on ::1
... Found multiple addresses for localhost, 127.0.0.1 ignored
Remi Collet [Fri, 21 Nov 2014 06:50:04 +0000 (07:50 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
NEWS
move zlog_set_level() again
Change pm.start_servers default warning to notice
Remi Collet [Fri, 21 Nov 2014 06:49:53 +0000 (07:49 +0100)]
NEWS
David Zuelke [Wed, 19 Nov 2014 22:39:00 +0000 (23:39 +0100)]
move zlog_set_level() again
from fpm_unix_init_main() to fpm_conf_post_process() this time (see #894),
because otherwise nothing in fpm_conf_init_main() obeys log levels
David Zuelke [Sun, 9 Nov 2014 01:18:58 +0000 (20:18 -0500)]
Change pm.start_servers default warning to notice
Unlike other settings, this has a perfectly reasonable default, calculated using
a dynamic formula. If the default was hardcoded to "2" or something, then it
would make sense to have a warning, since that could potentially be bad, but for
a dynamically calculated value based on other mandatory settings, a notice ought
to be enough.
Remi Collet [Fri, 21 Nov 2014 06:36:34 +0000 (07:36 +0100)]
add test for #68391
Remi Collet [Fri, 21 Nov 2014 06:35:49 +0000 (07:35 +0100)]
NEWS
Remi Collet [Fri, 21 Nov 2014 06:35:10 +0000 (07:35 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
NEWS
Fixed bug #68391 Returns the pool config files in order
Remi Collet [Fri, 21 Nov 2014 06:34:40 +0000 (07:34 +0100)]
NEWS
Florian MARGAINE [Thu, 20 Nov 2014 17:50:34 +0000 (18:50 +0100)]
Fixed bug #68391 Returns the pool config files in order
Fixes https://bugs.php.net/bug.php?id=68391
Adam Harvey [Fri, 21 Nov 2014 00:19:03 +0000 (16:19 -0800)]
Merge branch 'PHP-5.5' into PHP-5.6
Adam Harvey [Fri, 21 Nov 2014 00:18:42 +0000 (16:18 -0800)]
Merge branch 'PHP-5.4' into PHP-5.5
George Wang [Thu, 20 Nov 2014 21:56:28 +0000 (16:56 -0500)]
Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6
George Wang [Thu, 20 Nov 2014 21:56:03 +0000 (16:56 -0500)]
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
George Wang [Thu, 20 Nov 2014 21:49:01 +0000 (16:49 -0500)]
made lsapi_main.c compatible with PHP7/phpng .
George Wang [Thu, 20 Nov 2014 21:49:01 +0000 (16:49 -0500)]
made lsapi_main.c compatible with PHP7/phpng .
George Wang [Thu, 20 Nov 2014 21:49:01 +0000 (16:49 -0500)]
made lsapi_main.c compatible with PHP7/phpng .
Remi Collet [Thu, 20 Nov 2014 14:16:39 +0000 (15:16 +0100)]
NEWS
Remi Collet [Thu, 20 Nov 2014 14:15:54 +0000 (15:15 +0100)]
adapt test for error message introduce in fix for #68463
Remi Collet [Thu, 20 Nov 2014 14:14:34 +0000 (15:14 +0100)]
Fix bug #68463 listen.allowed_clients can silently result in no allowed access
Add a "There are no allowed addresses for this pool"
Remi Collet [Thu, 20 Nov 2014 13:45:17 +0000 (14:45 +0100)]
run a few request in this test
Anatol Belski [Thu, 20 Nov 2014 12:36:37 +0000 (13:36 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
split msgfmt_format_intlcalendar_variant*.phpt for ICU 54.1
split formatter_format*.phpt for ICP 54.1
split dateformat_timezone_arg_variations*.phpt for ICU 54.1
split dateformat_get_set_timezone_variant*.phpt for ICU 54.1
fix icu version to test
split ext/intl/tests/dateformat_get_set_calendar_variant*.phpt for 54.1
split dateformat_formatObject_datetime_variant*.phpt for ICU 54.1
split dateformat_formatObject_calendar_variant*.phpt for ICU 54.1
split dateformat_create_cal_arg_variant2.phpt for ICU 53.1 and 54.1
clone dateformat_calendars_variant3.phpt for ICU 54.1
split collator_get_sort_key_variant3.phpt for icu 54.1
split ext/intl/tests/collator_create3.phpt for icu >= 54.1
Conflicts:
ext/intl/tests/dateformat_create_cal_arg_variant3.phpt
ext/intl/tests/dateformat_formatObject_calendar_variant3.phpt
ext/intl/tests/dateformat_formatObject_datetime_variant3.phpt
ext/intl/tests/dateformat_get_set_calendar_variant3.phpt
ext/intl/tests/dateformat_get_set_timezone_variant3.phpt
ext/intl/tests/dateformat_timezone_arg_variations3.phpt
ext/intl/tests/msgfmt_format_intlcalendar_variant3.phpt
Anatol Belski [Thu, 20 Nov 2014 12:26:23 +0000 (13:26 +0100)]
split msgfmt_format_intlcalendar_variant*.phpt for ICU 54.1
Anatol Belski [Thu, 20 Nov 2014 12:17:41 +0000 (13:17 +0100)]
split formatter_format*.phpt for ICP 54.1
Anatol Belski [Thu, 20 Nov 2014 12:12:02 +0000 (13:12 +0100)]
split dateformat_timezone_arg_variations*.phpt for ICU 54.1
Anatol Belski [Thu, 20 Nov 2014 12:06:22 +0000 (13:06 +0100)]
split dateformat_get_set_timezone_variant*.phpt for ICU 54.1
Anatol Belski [Thu, 20 Nov 2014 12:01:04 +0000 (13:01 +0100)]
fix icu version to test
Anatol Belski [Thu, 20 Nov 2014 11:58:41 +0000 (12:58 +0100)]
split ext/intl/tests/dateformat_get_set_calendar_variant*.phpt for 54.1
Anatol Belski [Thu, 20 Nov 2014 11:53:11 +0000 (12:53 +0100)]
split dateformat_formatObject_datetime_variant*.phpt for ICU 54.1
Anatol Belski [Thu, 20 Nov 2014 11:46:48 +0000 (12:46 +0100)]
split dateformat_formatObject_calendar_variant*.phpt for ICU 54.1
Anatol Belski [Thu, 20 Nov 2014 11:39:52 +0000 (12:39 +0100)]
split dateformat_create_cal_arg_variant2.phpt for ICU 53.1 and 54.1
Anatol Belski [Thu, 20 Nov 2014 10:49:39 +0000 (11:49 +0100)]
clone dateformat_calendars_variant3.phpt for ICU 54.1
Anatol Belski [Thu, 20 Nov 2014 10:37:06 +0000 (11:37 +0100)]
split collator_get_sort_key_variant3.phpt for icu 54.1
Anatol Belski [Thu, 20 Nov 2014 10:17:42 +0000 (11:17 +0100)]
split ext/intl/tests/collator_create3.phpt for icu >= 54.1
Remi Collet [Thu, 20 Nov 2014 09:15:15 +0000 (10:15 +0100)]
Raise a warning when listen = hostname used and is resolved as multiple addresses
Using getaddrinfo is perhaps not a good idea... if we are not able
to listen on multiple addresses...
At least this message should help to diagnose problem, ex
... Found address for localhost, socket opened on ::1
... Found multiple addresses for localhost, 127.0.0.1 ignored
Remi Collet [Thu, 20 Nov 2014 07:15:13 +0000 (08:15 +0100)]
NEWS
Remi Collet [Thu, 20 Nov 2014 07:12:27 +0000 (08:12 +0100)]
Fixed #68458 Change pm.start_servers default warning to notice
Add another test
014 checks that no "notice" are traced when log_level=warning
015 checks that "notice" are traced when log_level=notice
David Zuelke [Wed, 19 Nov 2014 22:46:22 +0000 (23:46 +0100)]
fix test description
David Zuelke [Wed, 19 Nov 2014 22:40:03 +0000 (23:40 +0100)]
tests for #895
David Zuelke [Wed, 19 Nov 2014 22:39:00 +0000 (23:39 +0100)]
move zlog_set_level() again
from fpm_unix_init_main() to fpm_conf_post_process() this time (see #894),
because otherwise nothing in fpm_conf_init_main() obeys log levels
David Zuelke [Sun, 9 Nov 2014 01:18:58 +0000 (20:18 -0500)]
Change pm.start_servers default warning to notice
Unlike other settings, this has a perfectly reasonable default, calculated using
a dynamic formula. If the default was hardcoded to "2" or something, then it
would make sense to have a warning, since that could potentially be bad, but for
a dynamically calculated value based on other mandatory settings, a notice ought
to be enough.
Remi Collet [Thu, 20 Nov 2014 06:49:54 +0000 (07:49 +0100)]
Factorization and consistency
- create a fpm_use_error_log() to check when file or stderr should be used
- use it everywhere for consistency
- add some comments
Peter Cowburn [Wed, 19 Nov 2014 17:03:15 +0000 (17:03 +0000)]
NEWS
Chris McCafferty [Mon, 10 Nov 2014 03:30:51 +0000 (22:30 -0500)]
Fix #68355: Inconsistency in example php.ini comments
There are some arbitrary differences between php.ini-production and
php.ini-development. This patch corrects the differences.
Remi Collet [Wed, 19 Nov 2014 15:49:23 +0000 (16:49 +0100)]
NEWS
Remi Collet [Wed, 19 Nov 2014 15:49:05 +0000 (16:49 +0100)]
Fixed bug #68452 php-fpm man page is oudated (-O)
Remi Collet [Wed, 19 Nov 2014 15:48:21 +0000 (16:48 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
NEWS
Fixed bug #68452 php-fpm man page is oudated (-g, -R, -z)
NEWS
Fixed bug #68381 Set FPM log level earlier during init
Remi Collet [Wed, 19 Nov 2014 15:47:52 +0000 (16:47 +0100)]
NEWS
Remi Collet [Wed, 19 Nov 2014 15:46:51 +0000 (16:46 +0100)]
Fixed bug #68452 php-fpm man page is oudated (-g, -R, -z)
Remi Collet [Tue, 18 Nov 2014 16:45:12 +0000 (17:45 +0100)]
NEWS
Remi Collet [Tue, 18 Nov 2014 16:44:53 +0000 (17:44 +0100)]
add test for bug #68381
David Zuelke [Sat, 8 Nov 2014 22:22:54 +0000 (17:22 -0500)]
Fixed bug #68381 Set FPM log level earlier during init
The log level will be ignored throughout log events in fpm_unix_init_main, until
the very end when zlog_set_level is finally called.
In particular, fpm_unix_conf_wp may throw notices like this:
> [08-Nov-2014 17:13:36] NOTICE: [pool www] 'user' directive is ignored when…
Which will still appear even if log_level in php-fpm.conf is set to warning+
Remi Collet [Tue, 18 Nov 2014 16:43:28 +0000 (17:43 +0100)]
NEWS
David Zuelke [Sat, 8 Nov 2014 22:22:54 +0000 (17:22 -0500)]
Fixed bug #68381 Set FPM log level earlier during init
The log level will be ignored throughout log events in fpm_unix_init_main, until
the very end when zlog_set_level is finally called.
In particular, fpm_unix_conf_wp may throw notices like this:
> [08-Nov-2014 17:13:36] NOTICE: [pool www] 'user' directive is ignored when…
Which will still appear even if log_level in php-fpm.conf is set to warning+
Remi Collet [Tue, 18 Nov 2014 12:11:53 +0000 (13:11 +0100)]
simplify fpm tests
Remi Collet [Tue, 18 Nov 2014 10:08:49 +0000 (11:08 +0100)]
Add test for bug #68442
Add another helper function fpm_display_log
Restore change from
c996a989 badly reverted in
8c0cc49
Remi Collet [Tue, 18 Nov 2014 07:07:45 +0000 (08:07 +0100)]
Add various tests for FPM
- covering recent bugs (68420, 68421, 68423, 68428)
- for UDS
- for ping and status URI
- for multi pool and multi mode
Remi Collet [Tue, 18 Nov 2014 07:01:18 +0000 (08:01 +0100)]
Include small MIT FastCGI client library from
https://github.com/adoy/PHP-FastCGI-Client
Add run_request function to easily run a FastCGI call,
which is needed for new tests.
Remi Collet [Mon, 17 Nov 2014 14:22:04 +0000 (15:22 +0100)]
Add new FPM test for IPv4/IPv6
Use 9000+PHP_INT_SIZE as poprt
- to avoid using default 9000
- to allow multipole 32/64 bits simultaneous run
Remi Collet [Mon, 17 Nov 2014 08:43:26 +0000 (09:43 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
update fpm configuration for #68428
fix incompatible pointer types
Remi Collet [Mon, 17 Nov 2014 08:35:20 +0000 (09:35 +0100)]
update fpm configuration for #68428
Remi Collet [Mon, 17 Nov 2014 08:35:20 +0000 (09:35 +0100)]
update fpm configuration for #68428
Anatol Belski [Mon, 17 Nov 2014 07:48:32 +0000 (08:48 +0100)]
fix incompatible pointer types
Anatol Belski [Mon, 17 Nov 2014 07:48:32 +0000 (08:48 +0100)]
fix incompatible pointer types
Remi Collet [Mon, 17 Nov 2014 08:23:47 +0000 (09:23 +0100)]
NEWS
Remi Collet [Mon, 17 Nov 2014 08:23:26 +0000 (09:23 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
NEWS
Fixed bug #68428 allowed_client is IPv4 only
Remi Collet [Mon, 17 Nov 2014 08:23:16 +0000 (09:23 +0100)]
NEWS
Remi Collet [Mon, 17 Nov 2014 08:22:13 +0000 (09:22 +0100)]
Fixed bug #68428 allowed_client is IPv4 only
Remi Collet [Mon, 17 Nov 2014 05:58:28 +0000 (06:58 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
comment about ipv4-mapped in fpm conf
Improve fix bug #68421 access.format='%R' doesn't log ipv6 address
Remi Collet [Mon, 17 Nov 2014 05:57:59 +0000 (06:57 +0100)]
comment about ipv4-mapped in fpm conf
Remi Collet [Mon, 17 Nov 2014 05:53:38 +0000 (06:53 +0100)]
Improve fix bug #68421 access.format='%R' doesn't log ipv6 address
Log IPv4-Mapped-Ipv6 address as IPv4 (not as IPv6)
Remi Collet [Sun, 16 Nov 2014 17:00:24 +0000 (18:00 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
improve comments about FPM listen option
Remi Collet [Sun, 16 Nov 2014 16:59:36 +0000 (17:59 +0100)]
improve comments about FPM listen option
Remi Collet [Sat, 15 Nov 2014 07:14:43 +0000 (08:14 +0100)]
NEWS