foobar
534ad6f38f
Use AC_ARG_WITH instead of PHP_ARG_WITH.
2002-10-12 03:10:04 +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
foobar
3bf7519210
@- Added --disable-all configure option. (Jani)
2002-09-04 18:47:28 +00:00
Holger Zimmermann
b79415334e
Some minor changes related to Pi3Web 2.0.1.
2002-08-18 15:46:48 +00:00
Holger Zimmermann
93bbc5e531
Removed unused local variable header_line.
2002-08-18 11:05:28 +00:00
Holger Zimmermann
2771e6d4f6
Removed some outdated lines from init_request_info().
2002-07-23 17:12:54 +00:00
Sascha Schumann
9c876ea01a
Add sapi_header_op interface which supersedes the sapi_add_header and _ex
...
calls.
Revert the change to the sapi_add_header_ex interface.
Fix various bugs:
1. header("HTTP/1.0 306 foo");
header("Location: absolute-uri");
did not work in combination with several SAPI modules, because
http_status_line was never properly reset. And thus, all SAPI
modules which looked at http_status_line ignored the changed
http_response_code.
2. The CGI SAPI did not send out the HTTP status line at all, if
http_status_line had not been set explicitly by calling
header("HTTP/1.0 200 foo");
2002-07-03 10:42:31 +00:00
Derick Rethans
6869cb3f5a
- Added a new parameter to the header() function which overrides the HTTP
...
response code.
@- Added a new parameter to the header() function which overrides the HTTP
@ response code. (Derick)
2002-06-21 09:31:21 +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
Holger Zimmermann
46acc391f0
Fixed functionality to read in server variables.
2002-02-23 15:17:00 +00:00
Derick Rethans
86fa2d3937
- Let php_execute_script return 0 on failure and 1 on sucess, and change
...
SAPIs accordingly. (Andrei, Derick)
2002-02-14 20:16:08 +00:00
Sebastian Bergmann
dcd4e0a2ec
Remove obsolete CG(extended_info) = 0 calls, we already do this in zend_set_default_compile_time_values().
2002-02-02 19:53:43 +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
Stig Bakken
0cee8df65e
* fix module struct in rest of sapi modules
2001-10-12 12:11:48 +00:00
Derick Rethans
27fb33e8b7
- More <br> to <br /> fixes
2001-10-09 19:19:21 +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
388dfa0483
TSRMLS fixes
2001-08-14 17:31:00 +00:00
Zeev Suraski
6ecae422c4
Use zend_first_try
2001-08-08 14:01:22 +00:00
Sascha Schumann
8aef193056
more tsrm cleanup
2001-08-05 15:29:47 +00:00
Sascha Schumann
0af7ad15f5
further tsrm cleanup
2001-08-05 14:17:55 +00:00
Sebastian Bergmann
a70ecedb33
Remove more duplicate TSRMLS_FETCH() calls.
2001-08-05 05:35:06 +00:00
Zeev Suraski
bc42c37513
More TSRMLS_FETCH work. Got it under 400 now.
2001-07-31 06:28:05 +00:00
Zeev Suraski
d76cf1da18
More TSRMLS_FETCH work
2001-07-31 04:53:54 +00:00
Zeev Suraski
c43806f415
Zend compatibility patch
2001-07-30 08:24:42 +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
Zeev Suraski
336004f4bc
Improved bailout mechanism, supports nested bailouts a-la try..catch
...
Note: You may *not* return directly from a catch block
2001-07-21 14:27:56 +00:00
Holger Zimmermann
7213492b3a
Updated
2001-07-21 12:23:23 +00:00
Holger Zimmermann
31252e854b
Updated
2001-07-20 22:11:13 +00:00
Holger Zimmermann
1b03f89fa0
Updated
2001-07-20 21:10:57 +00:00
Holger Zimmermann
a088c2e19d
Updated PHP mode, fixed indent mode, added syntax check mode
2001-07-20 21:00:17 +00:00
Daniel Beulshausen
59f3775f7c
add/fix pi3web dsp
2001-04-28 18:46:56 +00:00
Holger Zimmermann
23f3187b6f
Contribute the MSVC project file. Someone could add this to the php4ts workspace.
2001-04-08 11:04:27 +00:00
Holger Zimmermann
8c0f71e7b3
Reorganized the #define's in the header.
2001-04-08 10:49:07 +00:00
Holger Zimmermann
9b7aa43dd4
Updated copyright agreement regarding move of Pi3Web to sourceforge.
2001-04-08 08:25:20 +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
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
Holger Zimmermann
7af7199a17
Minor update regarding new phpinfo table format. Moved pi3web_sapi.h to the sapi module.
...
PR:
Submitted by:
Reviewed by:
Obtained from: Pi3Web
2000-12-28 08:31:42 +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
Sascha Schumann
479a96ed89
Set file_handle.opened_path to NULL
2000-08-22 05:43:31 +00:00
Zeev Suraski
30ccec36b9
Fix build
2000-08-20 22:18:19 +00:00
Sascha Schumann
1d68a02df3
The status quo in PHP is that the current directory is initialized
...
to the directory where the executing script is located.
Since this needs to be implemented for all SAPI modules anyway, this
change moves the functionality to php_execute_script() and gets rid
of the per-module code.
2000-08-20 14:29:00 +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