summaryrefslogtreecommitdiff
path: root/sapi/apache2handler
Commit message (Collapse)AuthorAgeFilesLines
* Fix #77648: BOM in sapi/apache2handler/php_functions.cChristoph M. Becker2019-02-221-1/+1
|
* Sync leading and final newlines in source code filesPeter Kokot2018-10-142-2/+0
| | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
* Trim trailing whitespace in source code filesPeter Kokot2018-10-131-11/+11
|
* Merge branch 'PHP-7.2' into PHP-7.3Nikita Popov2018-09-301-1/+8
|\
| * Merge branch 'PHP-7.1' into PHP-7.2Nikita Popov2018-09-301-1/+8
| |\
| | * Fixed bug #75479Nikita Popov2018-09-301-1/+8
| | | | | | | | | | | | Wrap the zend_signal_init() call, so the hook arguments line up.
* | | Merge branch 'PHP-7.2' into PHP-7.3Stanislav Malyshev2018-09-091-0/+1
|\ \ \ | |/ / | | | | | | | | | | | | * PHP-7.2: Update NEWS Fix for bug #76582
| * | Merge branch 'PHP-7.1' into PHP-7.2Stanislav Malyshev2018-09-091-0/+1
| |\ \ | | |/ | | | | | | | | | | | | * PHP-7.1: Update NEWS Fix for bug #76582
| | * Merge branch 'PHP-7.0' into PHP-7.1Stanislav Malyshev2018-09-091-0/+1
| | |\ | | | | | | | | | | | | | | | | | | | | * PHP-7.0: Update NEWS Fix for bug #76582
| | | * Merge branch 'PHP-5.6' into PHP-7.0Stanislav Malyshev2018-09-091-0/+1
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.6: Update NEWS Fix for bug #76582
| | | | * Fix for bug #76582Stanislav Malyshev2018-09-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | The brigade seems to end up in a messed up state if something fails in shutdown, so we clean it up.
| | * | | Fix race conditions with Apache vhost vs. per dir configAnatol Belski2018-02-011-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the same php_value/php_flag is present in httpd.conf and .htaccess, the key is potentially shared between threads. Unfortunately we can't intern these keys using the current mechanism, because the MPM is setup before the SAPI module setup is even started. A more elegant way were to implement a kind of string pool for the thread safe Apache SAPI config directives with the mechanism similar to what is done for the SAPI setup now, but doing a separate management. (cherry picked from commit 73eb5a78b9caa18d35624765f9b972c1ba48855d)
| | * | | year++Xinchen Hui2018-01-025-5/+5
| | | | |
* | | | | Trim trailing whitespaces in build filesPeter Kokot2018-07-291-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some editors utilizing .editorconfig automatically trim whitespaces. For convenience this patch removes whitespaces in certain build files: - ext/*/config*.m4 - configure.ac - acinclude.m4
* | | | | Remove unused Git attributes identPeter Kokot2018-07-257-14/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore.
* | | | | Merge branch 'PHP-7.2'Anatol Belski2018-01-311-0/+18
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * PHP-7.2: Fix race conditions with Apache vhost vs. per dir config
| * | | | Fix race conditions with Apache vhost vs. per dir configAnatol Belski2018-01-311-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the same php_value/php_flag is present in httpd.conf and .htaccess, the key is potentially shared between threads. Unfortunately we can't intern these keys using the current mechanism, because the MPM is setup before the SAPI module setup is even started. A more elegant way were to implement a kind of string pool for the thread safe Apache SAPI config directives with the mechanism similar to what is done for the SAPI setup now, but doing a separate management.
| * | | | year++Xinchen Hui2018-01-025-5/+5
| | | | |
* | | | | Use PHP_WIN32Kalle Sommer Nielsen2018-01-041-7/+7
| | | | |
* | | | | year++Xinchen Hui2018-01-025-5/+5
| | | | |
* | | | | Merge branch 'PHP-7.2'Anatol Belski2017-11-301-1/+0
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * PHP-7.2: Revert "Fix macro redefinition warnings"
| * | | | Revert "Fix macro redefinition warnings"Anatol Belski2017-11-301-1/+0
| | | | | | | | | | | | | | | | | | | | This reverts commit 23d2bd374838897ec97f9994e70856686a89f132.
* | | | | Merge branch 'PHP-7.2'Anatol Belski2017-11-301-0/+1
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * PHP-7.2: Fix macro redefinition warnings
| * | | | Fix macro redefinition warningsAnatol Belski2017-11-301-0/+1
| | | | | | | | | | | | | | | | | | | | The corresponding implementations are available from APR.
* | | | | Merge branch 'PHP-7.2'Nikita Popov2017-10-051-2/+2
|\ \ \ \ \ | |/ / / /
| * | | | Merge branch 'PHP-7.1' into PHP-7.2Nikita Popov2017-10-051-2/+2
| |\ \ \ \ | | |/ / /
| | * | | Merge branch 'PHP-7.0' into PHP-7.1Nikita Popov2017-10-051-2/+2
| | |\ \ \ | | | |/ /
| | | * | Fixed bug #75311Mathieu CARBONNEAUX2017-10-051-2/+2
| | | | |
* | | | | Removed support for BeOS, development for BeOS was supported 17 years ago.Kalle Sommer Nielsen2017-08-291-7/+0
|/ / / / | | | | | | | | | | | | | | | | | | | | This patch however does not drop support for the BeOS compatible variant, Haiku, see Github PR #2697 which is currently a WiP I intentionally left out some fragments for BeOS in the build system for that seems to be bundles
* | | | Merge branch 'PHP-7.1'Anatol Belski2017-03-282-47/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | * PHP-7.1: update NEWS update NEWS Revert "Fixed bug #61471"
| * | | Merge branch 'PHP-7.0' into PHP-7.1Anatol Belski2017-03-282-47/+1
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | * PHP-7.0: update NEWS Revert "Fixed bug #61471"
| | * | Revert "Fixed bug #61471"Anatol Belski2017-03-282-47/+1
| | | | | | | | | | | | | | | | This reverts commit 80c8d84af303d2fddc9ba9f181c7117b9040811d.
* | | | Merge branch 'PHP-7.1'Nikita Popov2017-02-082-1/+47
|\ \ \ \ | |/ / /
| * | | Merge branch 'PHP-7.0' into PHP-7.1Nikita Popov2017-02-082-1/+47
| |\ \ \ | | |/ /
| | * | Fixed bug #61471Zheng SHAO2017-02-082-1/+47
| | | |
| * | | Merge branch 'PHP-7.0' into PHP-7.1Anatol Belski2017-01-051-44/+1
| |\ \ \ | | |/ / | | | | | | | | | | | | * PHP-7.0: Revert "Merge branch 'bugfix_timeout_61471' of https://github.com/axot/php-src into PHP-7.0"
| | * | Revert "Merge branch 'bugfix_timeout_61471' of ↵Anatol Belski2017-01-051-44/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/axot/php-src into PHP-7.0" This reverts commit a8931df672bb173ef81c10e4fc2a5de23789c935, reversing changes made to f2f35a2b27d0074ab015b8a37d6563eec74147d5.
| | * | Update copyright headers to 2017Sammy Kaye Powers2017-01-045-5/+5
| | | |
| * | | Update copyright headers to 2017Sammy Kaye Powers2017-01-045-5/+5
| | | |
* | | | Revert "Merge branch 'bugfix_timeout_61471' of ↵Anatol Belski2017-01-151-44/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/axot/php-src into PHP-7.0" This reverts commit a8931df672bb173ef81c10e4fc2a5de23789c935, reversing changes made to f2f35a2b27d0074ab015b8a37d6563eec74147d5. (cherry picked from commit 57736cc937fc6dfdfb403293d7bf88b264e83e15) Something went wrong, so the revert didn't land in master. Cherry-picking extra therefore.
* | | | Update copyright headers to 2017Sammy Kaye Powers2017-01-025-5/+5
| | | |
* | | | Merge branch 'PHP-7.1'Xinchen Hui2016-12-291-1/+44
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | * PHP-7.1: define php_ap_map_http_request_error function for older httpd only add old versions of httpd support typo fixed bug fixed #61471 in apache2handler
| * | | Merge branch 'PHP-7.0' into PHP-7.1Xinchen Hui2016-12-291-1/+44
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | * PHP-7.0: define php_ap_map_http_request_error function for older httpd only add old versions of httpd support typo fixed bug fixed #61471 in apache2handler
| | * | define php_ap_map_http_request_error function for older httpd onlyZheng SHAO2016-12-291-31/+24
| | | |
| | * | add old versions of httpd supportZheng SHAO2016-12-291-0/+34
| | | |
| | * | typo fixedZheng SHAO2016-12-171-1/+1
| | | |
| | * | bug fixed #61471 in apache2handlerZheng SHAO2016-12-171-1/+17
| | | |
* | | | Remove Netware supportKalle Sommer Nielsen2016-11-123-20/+5
|/ / / | | | | | | | | | If this does not break the Unix system somehow, I'll be amazed. This should get most of it out, apologies for any errors this may cause on non-Windows ends which I cannot test atm.
* | | fix build with mod_winntAnatol Belski2016-07-111-0/+8
| | |
* | | Pass error severity to SAPI modules and raise corresponding error level in ↵Martin Vobruba2016-07-111-3/+31
| | | | | | | | | | | | Apache