Commit Graph

166 Commits

Author SHA1 Message Date
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
Uwe Schindler
72aa28d0c3 safe mode fix 2003-07-15 22:19:00 +00:00
Uwe Schindler
e3a55ba297 Make virtual() an alias for nsapi_virtual() -- better for docs/naming in future 2003-07-15 17:30:33 +00:00
Uwe Schindler
948476bd45 rename functions to php5_* 2003-07-02 22:39:37 +00:00
Uwe Schindler
2f280dcd55 prevent user from making nested PHP requests using virtual() 2003-07-02 13:39:41 +00:00
Edin Kadribasic
fa48ad6df3 Fixed ZTS build 2003-06-15 11:50:17 +00:00
Edin Kadribasic
045460edd3 No need for this in the HEAD branch 2003-06-15 11:48:47 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Uwe Schindler
0ab88d1eb3 Messages for newer servers. 2003-06-01 21:45:04 +00:00
Uwe Schindler
827734280b Update of README for newer servers; apache-similar functions nsapi_request_headers and nsapi_response_headers with apache_* aliases; hide authorization-header in save mode. 2003-06-01 21:14:58 +00:00
Uwe Schindler
6aaa211e9c zend_alter_ini_entry now with PHP_INI_USER 2003-05-31 15:32:50 +00:00
Uwe Schindler
eeb7f4060e Disable virtual() if zlib.output_compression is turned on. Better detection of ns-httpdXX.dll 2003-05-30 23:39:15 +00:00
Uwe Schindler
c1b8e699e1 virtual() now works under windows, too 2003-05-30 13:15:22 +00:00
Uwe Schindler
499f902a30 fix of incomplete windows fix 2003-05-29 21:05:29 +00:00
Uwe Schindler
b13365a56b Changes for compilation under windows 2003-05-29 20:13:42 +00:00
Uwe Schindler
fe141ca1ac Added php.ini value: nsapi.read_timeout; Included the apache-like virtual() function to make sub-request on server (thanks to Chris Elving from Sun) 2003-05-29 12:24:28 +00:00
Uwe Schindler
1e4730fb70 Set exspected threads to tsrm_startup() to number of threads NSAPI returns for server 2003-05-20 11:19:01 +00:00
Uwe Schindler
6672f23a97 NSAPI SAPI sends now 404 if script not found and 500 if execution failed. Includes forgotten php4_close() function registration. Complete rewrite of php4_execute() 2003-05-19 21:29:41 +00:00
Uwe Schindler
2a90ecf4a3 Implement feature request #8879: Added possibility to alter ini entries by php4_execute service line. php4_init now supports path to an alternate php.ini (for example in the webservers config directory) 2003-05-18 15:36:33 +00:00
Uwe Schindler
0353b50f80 PHP_WIN32 included 2003-03-24 10:33:21 +00:00
Uwe Schindler
96cc9aa4c4 Changes for iPlanet Webserver 6 2003-03-09 12:09:06 +00:00
Uwe Schindler
99bec84027 *** empty log message *** 2003-03-02 13:45:23 +00:00
foobar
b69d4c004d style, ws 2003-02-09 23:48:22 +00:00
foobar
8c596d1394 Some compilers puke on these.. 2003-02-09 23:29:56 +00:00
Uwe Schindler
738b662b72 (NSAPI SAPI) Fixed _SERVER[] variables (all headers included) to be now similar to apache SAPI; with this new file the memory leaks (webserver eats up memory during a few days running) are also disappeared (all by NSAPI allocated strings are freed). 2003-02-07 18:57:40 +00:00
Sebastian Bergmann
2c5d4b8c23 Bump year. 2002-12-31 15:59:15 +00:00
foobar
dd53efc196 - Made the STANDARD_SAPI_MODULE_PROPERTIES be what it says it is. 2002-11-26 05:57:06 +00:00
Ilia Alshanetsky
d5870ef544 Added a sanity check (hopefuly will fix bug #20109). According to
http://developer.netscape.com/docs/manuals/enterprise/40/nsapi/05_nsapi.htm#551539
util_hostname() can return a NULL value.
2002-10-26 22:00:36 +00:00
foobar
350340241c Possible fix for #19290 2002-09-29 22:24:20 +00:00
Zeev Suraski
76312b4508 another startup initialization fix - only ISAPI and CGI SAPI's tested,
minor compile buglets might occur in other SAPIs, but should be trivial
to fix...
2002-09-18 21:57:42 +00:00
Dan Kalowsky
7dd7d39385 Fix for bug #19290
# Untested
2002-09-08 18:13:56 +00:00
Dan Kalowsky
57a1181b9a Fix for Bug #18999 2002-08-20 23:04:53 +00:00
Dan Kalowsky
398288f236 Fix for Bug #18794, and probably various others with nsapi 2002-08-14 16:39:26 +00:00
Dan Kalowsky
9b7cc76300 fix for bug #18794, not checking for actual files 2002-08-08 05:52:15 +00:00
Stefan Esser
44a5b43b79 Fixing the same possible memory leak. 2002-06-21 14:47:59 +00:00
Sascha Schumann
9d9d39a0de Please welcome the new build system.
If you encounter any problems, please make sure to email sas@php.net
directly.

An introduction can be found on

http://schumann.cx/buildv5.txt
2002-03-07 14:20:02 +00:00
Derick Rethans
9d6c7626da - Reformatting 2002-02-20 10:41:18 +00:00
Sebastian Bergmann
38933514e1 Update headers. 2001-12-11 15:32:16 +00:00
foobar
f43b57190c Added missing cvs ids and unified configure messages. 2001-11-30 19:01:32 +00:00
Jeroen van Wolffelaar
eb38ca844b Undo Z_ subst for sapi and ext/yaz 2001-09-27 20:01:23 +00:00
Jeroen van Wolffelaar
c033288573 Back-substitute for Z_* macro's. If it breaks some extension (the script isn't optimal, it parses for example var->zval.value incorrect) please let me know. 2001-09-25 21:58:48 +00:00
Daniel Beulshausen
21cac086e4 TSRMLS fixes 2001-08-14 17:16:19 +00:00
Sascha Schumann
8aef193056 more tsrm cleanup 2001-08-05 15:29:47 +00:00
Sebastian Bergmann
a70ecedb33 Remove more duplicate TSRMLS_FETCH() calls. 2001-08-05 05:35:06 +00:00
Zeev Suraski
d87cc976e1 Redesigned thread safety mechanism - nua nua 2001-07-28 11:36:37 +00:00
Zeev Suraski
fe6f8712a4 - Get rid of ELS_*(), and use TSRMLS_*() instead.
- Move to the new ts_allocate_id() API
This patch is *bound* to break some files, as I must have had typos somewhere.
If you use any uncommon extension, please try to build it...
2001-07-27 10:16:41 +00:00
Wilfredo Sanchez
0df6e8dd88 Add INSTALL_ROOT variable to specify install location. 2001-04-03 20:59:50 +00:00
foobar
8a26918ed1 Renamed the AC_ prefixed macros defined in acinclude.m4 to PHP_* prefixes.
# Heads up people! I tested this before committing but you never know..
2001-03-27 20:35:04 +00:00
Andi Gutmans
abb18a7918 - Commit NSAPI patches. 2001-03-02 15:25:51 +00:00
Andi Gutmans
eb6ba01d1c - Fix copyright notices with 2001 2001-02-26 06:11:02 +00:00
Zeev Suraski
bd0ac7fe14 Many patches. I hope I remember them all:
- Make sapi_module available to external modules (PHPAPI)
- Make the php.ini path reported in phpinfo() always point to
  real full path of the php.ini file
- Optimized the ISAPI module not to read unnecessary server
  variables and read necessary variables at most once.
2001-01-02 22:49:31 +00:00
Hartmut Holzgraefe
1f6878e912 2nd step towards auto-credits 2000-11-20 10:33:33 +00:00
Zeev Suraski
030b707296 Update SAPI modules to interface with the new TSRM.
Enable thread-safety memory debugging in ISAPI when in debug mode
2000-11-18 02:44:04 +00:00
Sascha Schumann
af87dfe204 Unify handling of aborted connections 2000-10-29 16:14:27 +00:00
Zeev Suraski
91c808ecc4 Restore the headers_only test to the centralized SAPI startup. If necessary, it can
be overriden in the activate() callback.
2000-09-08 14:43:57 +00:00
Andi Gutmans
570e7e9a13 - Defining TSRM_WIN32 in each and every dsp sucked. Revert this change 2000-09-02 16:28:25 +00:00
Andi Gutmans
5bc9f72e85 - More Windows build fixes 2000-09-02 16:02:53 +00:00
Daniel Beulshausen
c8eb56cc59 changed the output directorys from the windowsbuilds 2000-08-23 15:43:36 +00:00
Stanislav Malyshev
5090b1e8d5 Fix zend_fiel_handle handling. Should fix URL include
and various opened_path inconsistencies.
2000-08-13 18:00:50 +00:00
Rasmus Lerdorf
76a2d2538c Heads up! I have moved the headers_only and response_code checks out of
SAPI and down into the individual SAPI modules.  I have made the
appropriate changes in all the SAPI modules, but please verify these.
The reason for this change is that Apache sometimes will feed PHP
a request_method of GET but have r->header_only set to true.  This happens
in an ErrorDocument redirect.  In this same scenario we want to preserve
the status code as well instead of just overwriting it with a 200 and
losing this information.  For now the other sapi modules act exactly as
before since they probably do not make this distinction, and they may
not even have a valid response code this early in the request.
@ Fix HEAD request bug on an Apache ErrorDocument redirect and preserve
@ the status code across the redirect as well.  (Rasmus)
2000-08-02 22:48:45 +00:00
Shane Caraveo
712cd89434 fix nsapi dsp file 2000-07-02 17:19:49 +00:00
Zeev Suraski
37fb71b9ba Set version number on DLLs 2000-06-30 12:16:58 +00:00
Andrei Zmievski
4010b422dd Separate plain name returned by php_sapi_module() and pretty name
used for output.
2000-06-26 18:05:55 +00:00
Zeev Suraski
cb5891d277 Apply the NSAPI patch 2000-06-24 16:31:10 +00:00
Sascha Schumann
80a05cd78c Cosmetic cleanups 2000-06-18 15:30:55 +00:00
Zeev Suraski
02d2a5db3a Fix Windows .dsp's 2000-06-11 19:23:21 +00:00
Anthony Whitehead
deff917851 Added more server variables to the HTTP_SERVER_VARS array, all the
variables listed in the structs in nsapi.c should work now. Untested on
Windows platform.
2000-06-08 11:56:36 +00:00
Sascha Schumann
102c6ce4b8 Move main.h to php_main.h. 2000-06-05 23:24:42 +00:00
Zeev Suraski
5673378ea6 - Allow all functions that receive user-defined function callbacks to accept
an array that contains an object and a method name, in place of a function
  name, e.g. usort($array, array($obj, "ObjSort"))
(I checked the code in array.c and basic_functions.c, other code which uses
call_user_function() may still force the function_name argument to be of type
IS_STRING, which prevents this feature from working - and is no longer necessary)
2000-06-03 04:16:46 +00:00