Uwe Schindler
2b43578d54
Fix a sigsegv on server shutdown, add missing sapi_shutdown().
2009-03-20 15:54:36 +00:00
Uwe Schindler
2b2874eafd
Fix Bug 47495: Keep header in internal list after add, so headers_list() works correctly. Other SAPIs have the same problem, but PHP 5.3 fixes this more elegant.
2009-02-25 19:52:06 +00:00
Uwe Schindler
f732dfba27
MFH: the #ifdef was never working. If Sun extends its NSAPI to support subrequests, much of this code must be rewritten. Because of that it is better to have a clean start. This commit does not change behaviour.
2009-01-06 13:46:49 +00:00
Sebastian Bergmann
ef49b9a8de
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:17:49 +00:00
Uwe Schindler
e073d72618
remove unneeded includes (not needed since NSAPI 3.0, wich is very old). This is needed for cleanup of the windows build.
2008-12-01 10:11:57 +00:00
Uwe Schindler
4560601437
MFH: support stat cache of webserver (like apache does)
2008-11-29 23:44:44 +00:00
Uwe Schindler
77972bc68a
MFH: Some nsapi.h specific ifdefs unified & corrected (same like last commit, only cleanup)
2008-11-29 19:59:27 +00:00
Uwe Schindler
877cdf6862
MFH: remove one stat call and replace by cached one
...
(release-manager: the same like with last commit)
2008-11-29 19:38:04 +00:00
Uwe Schindler
75b081d0d1
Hallo release manager: This patch is not release critical (affects only NSAPI, but I want it to be fixed in the last version of PHP 5.2). If you do not want to have it in, revert it, a new RC is definitely not needed because of this (and I am sure nobody who tests RCs is using NSAPI :)!
...
MFH: Implement flushing in NSAPI, fix some problems with output buffering if the response was not started (no headers sent) before doing something in ub_write() or flush() - Writing or flushing output will fail in NSAPI, if headers were not sent before.
2008-11-29 14:51:45 +00:00
Uwe Schindler
c1bb953c71
MFH: Response to: [PHP-DEV] cleaning up the functions - any volunteers? :)
2008-06-22 18:10:33 +00:00
Felipe Pena
d39fbb1548
Fix typo ( #44381 )
2008-03-09 16:06:33 +00:00
Sebastian Bergmann
d9f3a1305f
MFH: Bump copyright year, 2 of 2.
2007-12-31 07:20:42 +00:00
Jani Taskinen
eb923bf6fc
MFH: - Changed AC_ARG_* options to PHP_ARG_* options.
...
MFH: - Some cleanups here and there
MFH: - Enabled PHP_CHECK_CONFIGURE_OPTIONS (checks for unknown configure
MFH: options)
# Note to Marcus: ext/dba/config.m4 needs to be "converted" to use
# the PHP_ARG_* options. I did't touch it needs quite a lot of work to keep
# it's current behaviour regarding "enabled-by-default" parts of it.
#
# Hint: By using the PHP_ARG_* options you have the "default" option.. ;)
2007-07-11 23:20:37 +00:00
Uwe Schindler
88bef568da
MFH: Fix crash on server startup when log message is printed
2007-04-27 00:29:26 +00:00
Uwe Schindler
ad336e432a
remove (large) static buffers for header names and request uri
2007-03-06 18:15:25 +00:00
Uwe Schindler
e25bb8ea04
use slprintf instead of snprintf and remove 0termination things (because slprintf is always available now)
2007-03-06 15:43:49 +00:00
Uwe Schindler
f34ec4f606
snprintf patch
2007-03-05 16:29:18 +00:00
Marcus Boerger
50ea26760d
- Avoid sprintf, even when checked copy'n'paste or changes lead to errors
2007-02-24 02:17:47 +00:00
Sebastian Bergmann
4223aa4d5e
MFH: Bump year.
2007-01-01 09:36:18 +00:00
Uwe Schindler
3cfbbc0635
MFH: update readme
2006-10-27 07:29:51 +00:00
Uwe Schindler
841bac014a
Fix build in Sun Webserver 7 (should be in 5.2.0, it's not critical but does not break mainstream sapis!!!)
2006-10-27 07:23:44 +00:00
foobar
5bd93221a8
bump year and license version
2006-01-01 12:51:34 +00:00
foobar
3e669bc950
MFH: nuke php3 legacy
2005-12-06 02:28:41 +00:00
foobar
b9af8f2719
MFH: nuke php3 legacy
2005-12-06 01:14:02 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +00:00
Dmitry Stogov
d647e000a7
Fixed bug #33520 (crash if safe_mode is on and session.save_path is changed)
2005-07-04 12:47:10 +00:00
Uwe Schindler
3fb36bf08e
Add sapi.get_request_time() to NSAPI
2005-04-03 19:16:23 +00:00
Rasmus Lerdorf
fdaa130f3a
Add the new request_time sapi struct entry to all the sapis. Some of these
...
may have ways of getting the request time without the extra syscall, but
for now let's just make sure we don't crash and people will eventually
fill these in where applicable.
2004-12-20 19:33:41 +00:00
Uwe Schindler
74fe4ec0cb
changed order of processing of ini entries
2004-09-20 13:30:13 +00:00
Uwe Schindler
5e1f396849
Fixed bug #29805 (HTTP Authentication Issues)
2004-09-15 21:28:30 +00:00
Uwe Schindler
3bb7e73656
replace strncpy with strlcpy
2004-06-26 10:30:07 +00:00
Uwe Schindler
8327d4e2bd
Addendum to bug #28878 : change ini keys as PHP_INI_SYSTEM
...
Also: Adding "bucket" parameter to non-ini-keys, Elemination of double CONTENT_TYPE/_LENGTH environment variables
2004-06-23 13:02:01 +00:00
Uwe Schindler
e276023d82
Fix bug #28878 : php.ini values in php5_execute
2004-06-22 15:37:40 +00:00
Uwe Schindler
b39a1e5195
Security fix: Put '\0' string termination before loop
2004-05-03 12:23:25 +00:00
Uwe Schindler
fcfe11e9e4
hint to raise stacksize (bug #27231 )
2004-03-18 13:37:16 +00:00
foobar
f4983c0d3f
- Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5
2004-01-17 13:00:38 +00:00
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
2004-01-08 08:18:22 +00:00
Wez Furlong
48b96c10d2
glob-ify lib checks; this simplifies writing of config.w32 files a little.
2004-01-07 20:06:32 +00:00
Wez Furlong
331dc79254
More things for the new build system.
...
Pi3Web and aolserver build untested (no headers and libs for those here)
2003-12-19 20:39:04 +00:00
Uwe Schindler
844d63081c
remove revision tag from module version entry
2003-12-12 16:21:28 +00:00
Wez Furlong
6201a56070
use /Ox flag for release build (all optimizations on).
...
If no php_build dir is specified, then look for either of the two
"standard" things in reasonable locations.
Allow CHECK_LIB to search for the "same" library using a ; separated
list of alternatives.
Tweak nsapi config and remove redundant or unused flags.
Add ZTS checks for both isapi and nsapi configs.
2003-12-05 02:41:00 +00:00
Uwe Schindler
6abf2179c1
First version... Wez: can you check this...
2003-12-05 00:00:31 +00:00
Uwe Schindler
d3d94ff2f3
fix header handler
2003-10-31 17:31:46 +00:00
Uwe Schindler
4dca199a98
Send correct default content type from php.ini not static text/html (important for other charsets than iso-8859-1)
2003-10-31 12:20:33 +00:00
Uwe Schindler
d3656eff45
new SunONE server
2003-10-17 21:58:26 +00:00
Uwe Schindler
294fcddc0e
Give user the chance to support nsapi_virtual() in newer servers by adding parameter server_lib to php5_init (windows only)
2003-08-04 12:46:03 +00:00
Andrey Hristov
a0ad4f949e
Removed the unnecessary check of array_init() return value.
2003-08-01 11:09:11 +00:00
Uwe Schindler
870610d679
put $ID:...$ in readme
2003-07-24 17:46:36 +00:00
Uwe Schindler
3fbe69f49a
Possibility to use php5_execute to display server error pages or directory listing pages
2003-07-24 17:40:40 +00:00
Uwe Schindler
17c02dd9d4
some code cleanups
2003-07-21 14:20:47 +00:00