summaryrefslogtreecommitdiff
path: root/main/php_globals.h
Commit message (Collapse)AuthorAgeFilesLines
* exit_on_timeout patchRasmus Lerdorf2008-03-181-0/+1
| | | | | | | | | | | | | | | | | | | | | 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.
* [DOC] add request_order INI variable to control $_REQUEST contentStanislav Malyshev2008-03-121-0/+2
| | | | | | # if not set (default), variables_order still is used # request_order accepts G,P and C
* MFH: User error handlers no longer catch supressed errorsEtienne Kneuss2008-03-081-2/+0
|
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* MFH:Jani Taskinen2007-09-281-0/+3
| | | | | | | | | | | | | | | | | | | | - Added ".htaccess" style user-defined php.ini files support for CGI/FastCGI. - Added support for special [PATH=/opt/httpd/www.example.com/] sections in php.ini. All directives set in these sections will not be able to be overridden in user-defined ini-files or during runtime in the specified path. - Improved php.ini handling: . Added better error reporting for syntax errors in php.ini files . Allowed "ini-variables" to be used almost everywhere ini php.ini files . Allowed using alphanumeric/variable indexes in "array" ini options . Fixed get_cfg_var() to be able to return "array" ini options - Fixed bug #27372 (parse error loading browscap.ini at apache startup) - Fixed bug #42069 (parse_ini_file() allows using some non-alpha numeric characters)
* MFH:- Changed "display_errors" php.ini option to accept "stderr" as value whichJani Taskinen2007-07-241-0/+4
| | | | | | MFH: makes the error messages to be outputted to STDERR instead of STDOUT with MFH: CGI and CLI SAPIs (FR #22839).
* Added ability to create local or remote (URL) user streamsDmitry Stogov2007-07-091-0/+1
| | | | | | | | | | | | | | Local user streams must not be able to open(), URLs if allow_url_include is off Implemented new function stream_is_local() [ - stream_wrapper_register() extended with additional optional argument "flags" of type long. This time only one flag is implemented - STREAM_IS_URL, that means that userstream wrapper is remote (URL). By default stream is local. - stream_is_local() is a new function that accepts stream and tell if this stream is local or remote (URL) ]
* limit nesting level of input variablesStanislav Malyshev2007-03-021-0/+1
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* COM initialization/deinitialization are done only if necessaryDmitry Stogov2006-11-171-0/+3
|
* MFH: added error_get_last() functionMichael Wallner2006-07-191-0/+1
|
* MFH: Backported allow_url_include from HEAD. This directive allowsRasmus Lerdorf2006-06-161-0/+1
| | | | | | separate control of URL handling in includes/requires allowing sites to enable allow_url_fopen without enabling remote includes.
* bump year and license versionfoobar2006-01-011-3/+3
|
* - Bumber up yearfoobar2005-08-031-1/+1
|
* Improve the way auto-globals JIT works, and add the ability to turn it offZeev Suraski2004-03-161-0/+1
|
* - Remove gpc_order since it doesn't serve any purpose.foobar2004-01-261-1/+0
|
* - Happy new year and PHP 5 for rest of the files too..foobar2004-01-081-2/+2
| | | | | # Should the LICENSE and Zend/LICENSE dates be updated too?
* Fixed bug #26707 (Incorrect error for disabled functions/classes).Ilia Alshanetsky2003-12-241-0/+3
|
* updating license information in the headers.James Cox2003-06-101-3/+3
|
* Make serialize precision a configurable option.Ilia Alshanetsky2003-05-081-0/+1
|
* Infrastructure to catch warnings and throw tehm as errors autmaticallyMarcus Boerger2003-05-071-0/+6
|
* 64 bit corrections to parameters to OnUpdateInt Bug #20994 (Dave)David Hill2003-03-101-1/+1
|
* Add JIT initialization for _SERVER and _ENVZeev Suraski2003-03-021-5/+3
| | | | | | (it's less important for the others, even though it should be fairly easy now too)
* ws fixes + missing $Id$ tags, headers addedfoobar2003-02-191-0/+1
|
* Bump year.Sebastian Bergmann2002-12-311-1/+1
|
* Bug #20433Marcus Boerger2002-11-301-1/+1
|
* Make it possible to test language features like newly introduced 'abstract'Marcus Boerger2002-11-211-0/+1
| | | | | independantly from debug mode.
* some changes to how request input data (Content-Lenght >0) is handledHartmut Holzgraefe2002-10-211-1/+0
| | | | | | | | | | | | | | - webdav-specific stuff removed (should be handled using httpd.conf LIMIT or equivalents) - always_populate_raw_post_data now working on any method, not just POST (and webdav methods with allow_webdav_methods), when Content-Length is greater zero - raw input data is also available using php://input stream, this way one doesn't have to care about memory_limit - input data is now always consumed (although maybe ignored, this fixes we had withproblems with keep-alive connections @ raw POST data is now available as php://input stream (hartmut)
* Fixed bug #16880. Added an ini option max_input_time that allows the userIlia Alshanetsky2002-10-211-0/+1
| | | | | to specify how much time a script may spend parsing input data (POST, GET, etc..).
* Per discussion on #php.bugs (+1 from at least Derick and Jani), revert ↵Sebastian Bergmann2002-09-011-1/+0
| | | | double_buffering.
* @ - Added php.ini option "allow_webdav_methods" to allow handling ofChristian Stocker2002-08-221-1/+2
| | | | | | @ WebDAV http requests within PHP scripts. (chregu) # More methods (for DeltaV) will follow.
* Changed handling of output buffer sizes.Marcus Boerger2002-08-201-0/+1
| | | | | | @Added php.ini option "double_buffering" that forces an additional first @output buffer and improved handling of buffer sizes. (Marcus)
* rename php_error_func<n> to php_error_docref and support Wez ideaMarcus Boerger2002-08-081-0/+3
| | | | | that solves ToDo requirement to point to PHP Manual in error messages.
* - Implement Andrei's request for disabling memory leak reporting in debugDerick Rethans2002-06-261-0/+1
| | | | | | builds. #- Andrei: I can show you the logs :)
* new ini setting log_errors_max_lenMarcus Boerger2002-04-101-0/+1
| | | | | | @-New ini setting log_errors_max_len controls maximum length for error @ messages. Set it to 0 for infinite. Default is 1024 (old behaviour) (Marcus)
* new feature ignoring repeated error messages (defaults to old behaviour)Marcus Boerger2002-04-061-0/+2
| | | | | @You can now disable logging of repeated error messages with two new ini settings ignore_repeated_errors, ignore_repeated_source. @(Marcus)
* Shouldn't have made it into my last commit.Wez Furlong2002-03-181-7/+0
|
* TSRMLS related work on streams, as discussed with Zeev.Wez Furlong2002-03-181-0/+8
| | | | | | # Should be the last "broad" commit for a while # Don't forget to make clean ; make
* Maintain headers.Sebastian Bergmann2002-02-281-1/+1
|
* Update headers.Sebastian Bergmann2001-12-111-2/+2
|
* - Adding a callback mechanism to the unserializer. (patch by BerndDerick Rethans2001-11-261-0/+2
| | | | | | Roemer <berndr@bonn.edu>) #- An explainatory e-mail will be send to php-dev
* Make it possible to enable chunked output buffering without providingZeev Suraski2001-08-111-3/+4
| | | | | an output handling function
* Redesigned thread safety mechanism - nua nuaZeev Suraski2001-07-281-11/+1
|
* Add always_populate_raw_post_data ini directive and default it to 0 toRasmus Lerdorf2001-07-171-0/+2
| | | | | | | | | maintain current behaviour. If this is turned on then $HTTP_RAW_POST_DATA is always populated with a copy of the raw post data. @ - Add config option (always_populate_raw_post_data) which when enabled @ will always populate $HTTP_RAW_POST_DATA regardless of the post mime @ type (Rasmus)
* o Fixed Bug #12121: chdir and safe_modeJames E. Flemer2001-07-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - [ main/safe_mode.h ] added new checkuid mode: CHECKUID_ALLOW_ONLY_FILE: skips directory check if file check fails - [ ext/standard/dir.c ] changed php_checkuid() to use CHECKUID_ALLOW_ONLY_FILE instead of CHECKUID_ALLOW_ONLY_DIR - [ main/safe_mode.c ] added code for new checkuid mode o Fixed Bug #12119: safe mode owner check can be bypassed with symlink - [ main/safe_mode.c ] use VCWD_REALPATH to resolve destination of symlink before trimming filename o New Feature: safe_mode_include_dir (php.ini directive) - Allows bypassing UID/GID checks when including files from the directory in safe_mode_include_dir and its subdirectories. (safe_mode must be on, directory must also be in include_path or full path must be used when including) o Fixed Feature: safe_mode_gid (php.ini directive) - Correctly check (and report) UID/GID bits on directories o Changed include() fall back to scripts cwd implementation - CWD added to the (local) search path in php_fopen_with_path() instead of seperate case. [ main/fopen_wrappers.c ]
* Fix xmlrpc_error:number handlingSascha Schumann2001-07-131-1/+1
|
* Allow errors to be returned as XMLRPC fault packets.Sascha Schumann2001-07-101-0/+4
| | | | | Submitted by: Matt Allen <matt@investigationmarketplace.com>
* Add getmygid() and safe_mode_gid ini directive to allow safe mode to doRasmus Lerdorf2001-07-091-0/+1
| | | | | | | a gid check instead of a uid check. @ - Add getmygid() and safe_mode_gid ini directive to allow safe mode to do @ a gid check instead of a uid check. (James E. Flemer, Rasmus)
* Added new configuration directives:foobar2001-04-041-1/+7
| | | | | arg_separator.input and arg_separator.output
* - Fix copyright notices with 2001Andi Gutmans2001-02-261-1/+1
|