summaryrefslogtreecommitdiff
path: root/sapi
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'PHP-7.3' into PHP-7.4Nikita Popov2019-06-041-1/+0
|\
| * Merge branch 'PHP-7.2' into PHP-7.3Nikita Popov2019-06-041-1/+0
| |\
| | * Reload tsrmls_id in release builds as wellNikita Popov2019-06-041-1/+0
| | | | | | | | | | | | | | | | | | If TSRM is shut down and started again (something that phpdbg does), then tsrmls_id needs to be reloaded everywhere. As tsrmls_id update is a rare operation, doing that shouldn't be a problem.
* | | Try to fix phpdbg + opcache compatibilityNikita Popov2019-06-041-17/+17
| | |
* | | Don't involve output check in the testAnatol Belski2019-06-011-5/+15
| | |
* | | Fix ZTS issue regarding new Windows CTRL handling APIChristoph M. Becker2019-06-011-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | php_win32_signal_system_ctrl_handler() is called from a kernel thread, so the former initialization of `vm_interrupt_flag` has no effect, since it is defined as thread-local. This is, however, not necessary, since the CTRL signal handling is supposed to work only for the main thread anyway. We therefore change `vm_interrupt_flag` and the related variables to true globals. This also allows us to unmark the respective test case as XFAIL. Furthermore, `vm_interrupt_flag` is declared as `zend_bool *`, so we better treat it such.
* | | Add CONFLCITS file for fpmNikita Popov2019-05-311-0/+1
| | | | | | | | | | | | We should not run FPM tests in parallel due to port clashes.
* | | Mark sapi_windows_set_ctrl_handler.phpt as XFAILNikita Popov2019-05-311-0/+2
| | |
* | | Update phpdbg oplog testNikita Popov2019-05-291-1/+1
| | |
* | | Update cli reflection testNikita Popov2019-05-291-2/+4
| | |
* | | Remove two zpp tests in sapi/cli/testsNikita Popov2019-05-292-35/+0
| | | | | | | | | | | | These fail on master -- apparently we're not running these tests...
* | | Revert "Rename *.l files to *.re"Joe Watkins2019-05-202-4/+4
| | | | | | | | | | | | This reverts commit 969047749d33bb88a0573aa91a57e2070335111a.
* | | Rename *.l files to *.rePeter Kokot2019-05-172-4/+4
| | | | | | | | | | | | | | | This syncs PHP lexer files to all use *.re extension. The *.re files are processed with the RE2C tool.
* | | Rename configure --with-litespeed to --enable-litespeedPeter Kokot2019-05-172-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | This syncs the configuration option of the litespeed module to be compliant with the approach of: --with-foo (when something additional needs to be installed such as libfoo) --enable-foo (when extension/sapi doesn't have dependencies on some library)
* | | Merge branch 'PHP-7.3' into PHP-7.4Jakub Zelenka2019-05-131-0/+4
|\ \ \ | |/ /
| * | Merge branch 'PHP-7.2' into PHP-7.3Jakub Zelenka2019-05-131-0/+4
| |\ \ | | |/
| | * Add ping to the fpm test for bug #77934Jakub Zelenka2019-05-131-0/+4
| | |
* | | [ci skip] Remove outdated fastcgi info in favor of the manualPeter Kokot2019-05-131-151/+0
| | |
* | | Normalize comments in *nix build system m4 filesPeter Kokot2019-05-127-42/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | Normalization include: - Use dnl for everything that can be ommitted when configure is built in favor of the shell comment character # which is visible in the output. - Line length normalized to 80 columns - Dots for most of the one line sentences - Macro definitions include similar pattern header comments now
* | | Use PKG_CHECK_MODULES to detect the systemd libraryHugh McMaster2019-05-121-25/+3
| | |
* | | Merge branch 'PHP-7.3' into PHP-7.4Jakub Zelenka2019-05-112-1/+45
|\ \ \ | |/ /
| * | Merge branch 'PHP-7.2' into PHP-7.3Jakub Zelenka2019-05-112-1/+45
| |\ \ | | |/
| | * Fix bug #77934 (php-fpm kill -USR2 not working)Jakub Zelenka2019-05-112-1/+45
| | |
* | | Remove unused variablesPeter Kokot2019-05-101-19/+0
| | |
* | | Merge branch 'PHP-7.3' into PHP-7.4George Wang2019-05-093-5/+2
|\ \ \ | |/ /
| * | Merge branch 'PHP-7.2' into PHP-7.3George Wang2019-05-093-5/+2
| |\ \ | | |/
| | * Updated LiteSpeed SAPI to 7.3.2 to allow request header value length up to 64K.George Wang2019-05-093-5/+2
| | |
* | | Include the request method in CLI server logsSimon Welsh2019-05-021-1/+1
| | |
* | | Always use pkg-config from the host architectureHugh McMaster2019-04-291-3/+0
| | |
* | | [ci skip] Remove outdated and redundant Apache READMEPeter Kokot2019-04-281-75/+0
| | | | | | | | | | | | | | | PHP manual includes more information and a bit more updated than this README.
* | | [ci skip] Remove CLI sapi READMEPeter Kokot2019-04-231-20/+0
| | | | | | | | | | | | | | | | | | Removing in favour of: - https://www.php.net/manual/en/features.commandline.introduction.php - https://www.php.net/manual/en/features.commandline.differences.php
* | | Merge branch 'PHP-7.3' into PHP-7.4George Wang2019-04-212-12/+22
|\ \ \ | |/ /
| * | Merge branch 'PHP-7.2' into PHP-7.3George Wang2019-04-212-12/+22
| |\ \ | | |/
| | * Improved LSAPI_End_Response_r() .George Wang2019-04-211-10/+17
| | |
| | * Fixed bug in litespeed_finish_request(), disable fastcgi_finish_request() ↵George Wang2019-04-211-2/+5
| | | | | | | | | | | | alias for now.
* | | [ci skip] Fix CS in Markdown filesPeter Kokot2019-04-212-218/+198
| | | | | | | | | | | | | | | | | | | | | | | | | | | Checked and quickfixed with Markdown linter - 80 columns line width (~) - code highlighting - ... Some most obvious outdated content updated a bit more.
* | | Merge branch 'PHP-7.3' into PHP-7.4Peter Kokot2019-04-201-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | * PHP-7.3: Update changelog Update changelog Fix #77921: static.php.net doesn't work anymore
| * | Merge branch 'PHP-7.2' into PHP-7.3Peter Kokot2019-04-201-1/+1
| |\ \ | | |/ | | | | | | | | | | | | * PHP-7.2: Update changelog Fix #77921: static.php.net doesn't work anymore
| | * Fix #77921: static.php.net doesn't work anymorePeter Kokot2019-04-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This embeds the PHP logo image in the FPM status HTML page instead of using remote location. The phpinfo() output also uses such approach and browser compatibility looks decent [1]. 1: https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs
* | | Fix last maybe uninit warnings on 7.4Nikita Popov2019-04-151-0/+1
| | | | | | | | | | | | | | | Most of these only occur under GCC 5. Not fond of all the workarounds (especially the PDO one), but it gets us a clean build...
* | | Merge branch 'PHP-7.3' into PHP-7.4George Wang2019-04-123-26/+153
|\ \ \ | |/ /
| * | Merge branch 'PHP-7.2' into PHP-7.3George Wang2019-04-123-26/+152
| |\ \ | | |/
| | * LiteSpeed SAPI 7.3, better process management, new API function ↵George Wang2019-04-123-26/+152
| | | | | | | | | | | | litespeed_finish_request().
* | | Fix strict aliasing violation in phpdbgNikita Popov2019-04-121-9/+13
| | | | | | | | | | | | | | | | | | By explicitly computing the message length from bytes. This also makes sure that the length is interpreted in an endianness-independent manner.
* | | Fix potentially uninitialized warnings in phpdbgNikita Popov2019-04-128-41/+47
| | |
* | | Backported call frame initialization improvementDmitry Stogov2019-04-121-2/+2
| | |
* | | Work around -Walloc-size-larger-than bugNikita Popov2019-04-111-11/+14
| | |
* | | Suppress warnings using zend_quiet_writeNikita Popov2019-04-111-1/+1
| | |
* | | Add AS_HELP_STRING to phpdbg optionsPeter Kokot2019-04-071-2/+6
| | |
* | | Remove checks for locale.h, setlocale, localeconvPeter Kokot2019-04-075-22/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `<loccale.h>` header file, setlocale, and localeconv are part of the standard C89 [1] and on current systems can be used unconditionally. Since PHP 7.4 requires at least C89 or greater, the `HAVE_LOCALE_H`, `HAVE_SETLOCALE`, and `HAVE_LOCALECONV` symbols defined by Autoconf in configure.ac [2] can be ommitted and simplifed. The bundled libmagic (file) has also been patched already in version 5.35 and up in upstream location so when it will be patched also in php-src the check for locale.h header is still left in the configure.ac and in windows headers definition file. [1] https://port70.net/~nsz/c/c89/c89-draft.html#4.4 [2] https://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4 Omit the bundled libmagic files