summaryrefslogtreecommitdiff
path: root/sapi/apache/mod_php5.c
Commit message (Collapse)AuthorAgeFilesLines
* Replaces php5 with php7, without whitespace changes.Florian MARGAINE2014-09-201-1050/+0
|
* Added support for apache and apache2handler SAPIs (They seem slower than ↵Dmitry Stogov2014-05-061-21/+31
| | | | FastCGI)
* Merge branch 'PHP-5.6'Xinchen Hui2014-01-031-1/+1
|\
| * Bump yearXinchen Hui2014-01-031-1/+1
| |
* | Pass the TSRMLS parameters to the sapi flush hook, this shaves off a few ↵Kalle Sommer Nielsen2013-12-181-1/+1
|/ | | | TSRMLS_FETCH() calls in our various SAPIs
* Merge branch 'pull-request/341'Stanislav Malyshev2013-06-101-1/+1
| | | | | * pull-request/341: (23 commits) typofixes
* Happy New YearXinchen Hui2013-01-011-1/+1
|
* - Year++Felipe Pena2012-01-011-1/+1
|
* Fixed bug #60206 (possible integer overflow in content_length)Xinchen Hui2011-11-031-1/+1
|
* Fix Apache1 buildRasmus Lerdorf2011-06-101-0/+1
|
* - Year++Felipe Pena2011-01-011-1/+1
|
* Updated _SERVER['REQUEST_TIME'] to include microsecond precision.Ilia Alshanetsky2010-11-061-2/+2
|
* Pass the TSRMS pointers to sapi_module_struct.log_message, this saves some ↵Kalle Sommer Nielsen2010-08-181-3/+1
| | | | TSRMLS_FETCH() calls in a few of our SAPI's
* * implement new output API, fixing some bugs and implementing some feature Michael Wallner2010-05-311-1/+1
| | | | | | | | | | | requests--let's see what I can dig out of the bugtracker for NEWS-- and while crossing the road: * implemented new zlib API * fixed up ext/tidy (what was "s&" in zend_parse_parameters() supposed to do?) Thanks to Jani and Felipe for pioneering.
* Removed safe_modeKalle Sommer Nielsen2010-04-261-1/+1
| | | | | | | * Removed ini options, safe_mode* * Removed --enable-safe-mode --with-exec-dir configure options on Unix * Updated extensions, SAPI's and core * php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
* Removed register_globalsKalle Sommer Nielsen2010-04-211-3/+0
|
* - Reverted r296062 and r296065Jani Taskinen2010-03-121-20/+21
|
* MFH: Improved / fixed output buffering (Michael Wallner)Jani Taskinen2010-03-111-21/+20
|
* Fix bug #50940Rasmus Lerdorf2010-02-051-0/+2
|
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* MFB: init server context before config variables are processedStanislav Malyshev2008-11-291-2/+2
|
* MFB: fix php_value application order for ApacheStanislav Malyshev2008-11-241-6/+6
|
* Added header_remove() (chsc at peytz dotdk, Arnaud)Arnaud Le Blanc2008-11-131-25/+38
| | | | | | | | | | | | | | | | | | | | | | | | | [DOC] proto void header_remove([string header_name]) Removes an HTTP header previously set using header() The header_name parameter is optionnal, all headers are removed if it is not set [SAPIs] The header_handler callback in sapi_module_struct has been changed, it now take a new argument. When it is set to SAPI_HEADER_DELETE, sapi_header->header is the name of an header, header_handler has to delete it. When it is set to SAPI_HEADER_DELETE_ALL, header_handler has to delete all headers. When sapi_header_op_enum is SAPI_HEADER_ADD or _REPLACE, sapi_header->header is in the form "Name: value", header_handler has to add or replace the given header. In all cases, header_handler must not free sapi_header or sapi_header->header. SAPI_HEADER_ADD must be returned if the header has been added or replaced, or 0 in other cases.
* fixed types (no more compiler warnings)Alexey Zakhlestin2008-06-281-2/+2
|
* Fixed bug #45144 (ap_child_terminate() isn't available on threaded builds)Scott MacVicar2008-06-011-0/+2
|
* exit_on_timeout patchRasmus Lerdorf2008-03-181-0/+9
| | | | | | | | | | | | | | | | | | | | | After the sigsetjmp change, this is patch #2 in an effort to get some sanity restored to signal handling in PHP. This patch does two things. First, it makes it possible to reset the timeout without resetting the signal handlers. This is important for cases where an extension may have deferred signals in its MINIT in order to implement critical sections. It also lays the groundwork for cleaning up our signal handling and perhaps eventually implementing our own signal deferring mechanism so we can have true critical sections. The second thing this does is to make it possible to terminate the current child process (only for Apache1 at the moment) on a timeout. There are a number of extensions that are unhappy about being longjmp'ed out of and when this happens on a timeout they are left in an inconsistent state. By turning on exit_on_timeout you can now force the process to terminate on a timeout which will clean up any hanging locks and/or memory left hanging after the longjmp.
* RevertRasmus Lerdorf2008-03-171-6/+7
| | | | | | | | Never mind, it looks like ext/filter does an estrdup on everything it gets which doesn't seem very efficient to me as most things it gets passed will already be emalloc'ed. My custom version of the filter extension doesn't do this which led to the confusion.
* We need to pass PHP-managed pointers to filter here to avoid havingRasmus Lerdorf2008-03-171-7/+6
| | | | | | | | emalloc'ed data assigned to things like r->uri and having it get efree()'ed on request shutdown which then means that if the Apache logging module tries to log r->uri it would be reading from free'ed memory. So a simple estrdup before the filter call takes care of that.
* - Rewrite scanner to be based on re2c instead of flexMarcus Boerger2008-03-161-8/+0
| | | | | | | | | The full patch is available as: http://php.net/~helly/php-re2c-5.3-20080316.diff.txt This is against php-re2c repository version 98 An older patch against version 97 is available under: http://php.net/~helly/php-re2c-97-20080316.diff.txt
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* fix buildAntony Dovgal2007-08-061-1/+1
|
* - ws + sync apache2filter apache_config.c with the one from apache2handlerJani Taskinen2007-08-031-4/+4
|
* implement separate .htaccess stageStanislav Malyshev2007-08-031-1/+3
|
* Fixed bug #41628 (PHP settings leak between Virtual Hosts in Apache 1.3).Scott MacVicar2007-06-181-3/+9
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* Make MEMORY_LIMIT and ZEND_USE_MALLOC_MM to be always enabled. They don't ↵Dmitry Stogov2006-12-201-9/+3
| | | | make any significant slowdown, but incrise maintainability a lot. Note that the setting of memory_limit wasn't changes (neither in main/main.c nor in php.ini) and it still set to 16M.
* MFH:Ilia Alshanetsky2006-11-031-2/+5
| | | | | | Added filter support for $_SERVER in cgi/apache2 sapis Make sure PHP_SELF is filtered in Apache 1 sapi
* Memory assigned to the request_rec should be allocated from apache poolsBrian France2006-10-121-7/+2
| | | | | and should not be free'ed at the end of the handler phase
* Added "PHPINIDir" Apache directive to apache and apache_hooks SAPIsDmitry Stogov2006-08-031-0/+13
|
* Changed memory_get_usage() and memory_get_peak_usage(). Optional boolean ↵Dmitry Stogov2006-07-251-1/+1
| | | | argument allows get memory size allocated by emalloc() (by default) or real size of memory allocated from system.
* New memory managerDmitry Stogov2006-07-181-2/+1
|
* Switch to a signed int for now. Will look at moving to a long throughoutRasmus Lerdorf2006-05-131-1/+1
| | | | | the code here.
* Add input_filter hook call in getenv()Rasmus Lerdorf2006-05-101-1/+5
|
* MFH:Ilia Alshanetsky2006-04-021-2/+1
| | | | | | Removed extra space in the Content-Type header for logos Simplified stderr error reporting in apache sapi.
* MFH: fix #36400 (Custom 5xx error does not return correct HTTP response ↵Antony Dovgal2006-02-151-1/+20
| | | | error code)
* MFH: I don't recall the reason for messing with r->allowed here, so let'sRasmus Lerdorf2006-01-061-3/+0
| | | | | get rid of it (and see who screams). This should fix bug #32561
* bump year and license versionfoobar2006-01-011-3/+3
|
* MFHAndrei Zmievski2005-12-161-1/+1
|
* MFH: initialize SG(request_info).auth_digestAntony Dovgal2005-10-181-0/+1
|