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
393cbe0ac3
- Put them back (and do it right)
2002-03-06 13:25:25 +00:00
Derick Rethans
c8740575c4
- Remove unused variables
2002-03-06 11:31:56 +00:00
Derick Rethans
a6738260af
- Fix for bug #15572 (Patch by Ralf Nyrén <ralf.nyren@educ.umu.se>)
2002-03-04 17:46:19 +00:00
Sascha Schumann
a2065b8743
Reduce operations in the ub_write loop.
2002-03-04 08:25:20 +00:00
Sascha Schumann
66535c240e
Free status line, initialize number_vec, correctly account for
...
the number of bytes in the document, avoid strcpy/strlen.
2002-03-04 08:22:33 +00:00
Alex Waugh
e0a228f55d
Updated build instructions
2002-03-03 14:25:59 +00:00
Shane Caraveo
db73f90953
add comment for IIS users
...
fix some whitespace
2002-03-01 06:34:08 +00:00
Shane Caraveo
cd18533a10
This is much better. With FORCE_CGI_REDIRECT turned on by default for compilation,
...
we can now define this in the ini file. So it can be turned on for apache, turned
off for IIS which does not have a redirect issue. Alternately, a different 'REDIRECT_STATUS'
environment var can be defined in case some web server out there needs it.
new ini vars
cgi.force_redirect 0|1
cgi.redirect_status_env ENV_VAR_NAME
2002-03-01 01:58:20 +00:00
Shane Caraveo
e2b1161ea6
fix force redirect crash under multithreaded compile
...
should be discused: fix redirect detection to only work with apache or netscape,
where we know they set an environment variable regarding redirect. IIS has
no security issue here. Don't know about other windows web servers.
2002-03-01 00:19:01 +00:00
Yasuo Ohgaki
83059ae3de
Use {NULL, NULL, NULL} to terminate function entry.
...
# It does not fix any bugs, since {0} works also.
2002-02-28 12:10:36 +00:00
Edin Kadribasic
ca1fdf8a55
Default name of CGI binary changed to php-cgi.
...
# Please note that this only applies when installing php with
# make install. The binary is still built as "php" in top build dir.
2002-02-28 11:48:39 +00:00
Sebastian Bergmann
90613d2282
Maintain headers.
2002-02-28 08:29:35 +00:00
Sebastian Bergmann
e3b86cb645
URLEncoder.encode(string) is deprecated in the Java 2 SDK 1.4.
2002-02-27 07:29:33 +00:00
jim winstead
63669c6a64
make it more clear that --with-apache and --with-apxs only work with apache 1.x.
2002-02-25 18:27:13 +00:00
Holger Zimmermann
46acc391f0
Fixed functionality to read in server variables.
2002-02-23 15:17:00 +00:00
Derick Rethans
9d6c7626da
- Reformatting
2002-02-20 10:41:18 +00:00
David Hedbor
aecccb16e9
Fixed environment hashing again.
2002-02-19 20:46:29 +00:00
Alex Waugh
11318ff8ef
Updated to new TSRM macros
2002-02-17 12:55:52 +00:00
Derick Rethans
b8a5daf59c
- Make the errorcode 255. (Doing docs right away)
2002-02-15 09:06:45 +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
Edin Kadribasic
48f688a261
Turned implicit_flush on.
...
Cleaned up help text.
2002-02-14 16:45:07 +00:00
Edin Kadribasic
f47a9c8af3
Added README file for CLI SAPI.
2002-02-14 16:44:13 +00:00
Sebastian Bergmann
3e845aaea4
Fugbix typo.
2002-02-11 16:29:51 +00:00
Shane Caraveo
14de816ecf
now needs getopt
2002-02-02 23:17:10 +00:00
Shane Caraveo
3b81b97c40
an update to stresstest
2002-02-02 23:14:23 +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
Yasuo Ohgaki
866a609208
A fix for the bug number 13231 & 11699.
...
Makes the roxen support compile. Patch by Lars Wilhelmsen <lars@sral.org>
2002-01-31 10:15:07 +00:00
Edin Kadribasic
13ca332184
Enable extensions to specify that they are not supposed to be
...
built with the CLI SAPI. This is done by passing "nocli" as the
3rd parameter to PHP_EXTENSION macro.
2002-01-30 23:46:44 +00:00
Sebastian Bergmann
ec4bb876a3
Fugbix typo. Update path to /lib/optional.
2002-01-30 20:38:00 +00:00
Jon Parise
ea089d09ae
Add a note that this statement will never be reached.
2002-01-27 07:23:21 +00:00
Doug MacEachern
a1b21e0c4c
adjust to ap_get_brigade() API change
2002-01-25 04:03:42 +00:00
Edin Kadribasic
fd7ff95fde
Added --disable-cli option.
2002-01-24 17:55:13 +00:00
Sebastian Bergmann
43b1d2acd1
Give Edin Kadribasic his due credits.
2002-01-23 13:41:52 +00:00
Edin Kadribasic
f18fade888
No need to dupe this string in cli sapi (Bug #15181 ).
2002-01-23 13:15:16 +00:00
Edin Kadribasic
1769e3fcdc
Fixed bug #9041 and others in the same class (patch by pete.lee@ubs.com)
2002-01-20 23:58:37 +00:00
Doug MacEachern
cb0a09808f
adjust to ap_get_brigade and input filter api changes
2002-01-20 18:44:15 +00:00
Edin Kadribasic
f5790b0a7c
Modified the build system to make certain extensions (pcntl, ncurses,
...
pcntl) only with cgi/cli sapi's. This was done by adding 3rd optional
parameter to PHP_EXTENSION macro which should be set to "cli" if
the extension only makes sense for that class of api's.
2002-01-20 02:30:18 +00:00
Edin Kadribasic
9504838d7e
Merged patch from sapi/cgi.
...
# I will try to sync relevant patches from sapi/cgi to sapi/cli
2002-01-19 22:45:26 +00:00
Shane Caraveo
6120b8dc5a
reimplement extension listing
2002-01-18 20:27:09 +00:00
Edin Kadribasic
2af5118d35
Fixed build in the directory other than $top_srcdir.
2002-01-13 23:51:56 +00:00
Edin Kadribasic
a7bbee9d22
This should fix cli build when running 'make install' directly.
2002-01-13 05:26:20 +00:00
Edin Kadribasic
317e1a4636
Fixed CLI build when the main SAPI is built as a shered library.
2002-01-12 22:48:54 +00:00
Edin Kadribasic
db8647203c
Modified the build system to always build CLI SAPI.
2002-01-12 14:51:54 +00:00
Edin Kadribasic
b1f3a91569
@- Added CLI (command line intrerface) sapi based on a cut-down version
...
@ of the CGI sapi which is more suited for writing shell scripts. Some of
@ the differences are: it prints no HTTP headers, displays plain text
@ error messages, etc. (Edin)
Added CLI (command line intrerface) sapi.
# Let's see if a build expert can make this compile along
# side some other sapi.
2002-01-06 14:08:14 +00:00
Ben Mansell
0cbbac3c12
Added log_message function to the FastCGI sapi, so you can see error
...
output from scripts
2002-01-04 14:39:46 +00:00
Zeev Suraski
c8315794f1
Fix incompatibility with Windows .NET (IIS 6)
...
May also improve stability under other Windows versions
2001-12-22 03:11:46 +00:00
Hartmut Holzgraefe
052d5fc85d
proto fix
2001-12-15 14:23:07 +00:00
Sascha Schumann
5c2d995f0b
Provide access to ini settings.
...
Properly block the thread, if IO is not ready on a fd.
2001-12-13 11:15:56 +00:00
Sebastian Bergmann
38933514e1
Update headers.
2001-12-11 15:32:16 +00:00
Sascha Schumann
92a6f2c344
Sent proper encodings for gzip/compress files, otherwise IE won't
...
display them.
Refer to section 3.5, RFC 2616 -- these are IANA registered.
Patch submitted to author.
2001-12-10 14:09:08 +00:00
Sascha Schumann
ef72a765bf
Add a nocache feature: If documents are stored under /nocache/,
...
appropiate HTTP headers will be sent which prevent client/proxy caching.
2001-12-10 13:31:41 +00:00
Thies C. Arntzen
f026dae4f2
@- Added -w option to the cgi-version. This will remove all comments and
...
@ whitespace from teh script. (Thies)
2001-12-08 12:27:01 +00:00
Doug MacEachern
1b35f3bcfc
apr_table_elts are now const
2001-12-07 05:34:44 +00:00
Doug MacEachern
27018c0ff0
rename functions to match those supported in the apache 1.3 module:
...
apache_sub_request -> virtual
get_all_headers -> getallheaders
2001-12-07 05:31:07 +00:00
Doug MacEachern
543d76185d
need to call ap_destroy_sub_req() before RETURN_TRUE in apache_sub_req()
...
(Jon Parise <jon@php.net>)
2001-12-06 19:03:29 +00:00
Doug MacEachern
52b711521f
destroy subrequests returned from ap_sub_req_lookup_uri
2001-12-06 01:25:48 +00:00
Doug MacEachern
6adebbf162
call to ap_sub_req_lookup_uri() needs to pass ctx->f->next rather than
...
NULL for next_filter argument in order for ap_run_sub_req() output to
end up where expected. ("William A. Rowe, Jr." <wrowe@rowe-clan.net>)
2001-12-06 00:53:58 +00:00
Hartmut Holzgraefe
2c93a6ac2d
proto fixes
2001-12-05 23:01:21 +00:00
Hartmut Holzgraefe
df6f8ba35a
proto fix
2001-12-04 22:14:28 +00:00
Sebastian Bergmann
a9b9c68b8a
Mark sapi/servlet as what it is: experimental.
2001-12-04 13:20:26 +00:00
foobar
f43b57190c
Added missing cvs ids and unified configure messages.
2001-11-30 19:01:32 +00:00
Sterling Hughes
d30044c969
Update to the latest apr api (patch by Clif Woolley)
2001-11-29 11:29:11 +00:00
Frank M. Kromann
1436374c40
Removing winutil.c from this project. the functions needed are found in php4ts.dll
2001-11-27 00:08:36 +00:00
Zeev Suraski
6cacbd75e7
Fix build if PHP_ENABLE_SEH is not defined
2001-11-25 10:01:49 +00:00
foobar
41b21156cc
Fixed bugs: #14034 , #11647 (can not find any others)
2001-11-19 00:51:06 +00:00
Doug MacEachern
898099adba
setup standard CGI variables
2001-11-13 21:40:01 +00:00
Rui Hirokawa
975ed901aa
fixed output problem with output buffering handler.
2001-11-11 23:11:23 +00:00
Shane Caraveo
5664afaadc
Make the win32 fastcgi compilable with the php4ts projects.
2001-11-10 22:11:03 +00:00
Alex Waugh
e06c1d7c7e
New SAPI module for the WebJames server on RISC OS
...
@- New SAPI module for the WebJames server on RISC OS (Alex Waugh)
2001-11-05 12:07:49 +00:00
Alex Waugh
bddb9539f7
Convert PATH_TRANSLATED for RISC OS
2001-11-04 12:46:30 +00:00
foobar
8ea8ebd2de
ws fix
2001-10-30 23:27:27 +00:00
foobar
43825a76bb
Installing into non-existing dir is not very good idea..
2001-10-30 23:22:10 +00:00
Sebastian Bergmann
1bbdd3bce1
Cocoon/lib -> xml-cocoon2/lib
2001-10-30 16:55:56 +00:00
Sebastian Bergmann
e2b0768e96
Leftover.
2001-10-28 23:49:59 +00:00
Sebastian Bergmann
6b8670b267
Whitespace changes.
2001-10-28 23:49:03 +00:00
Sebastian Bergmann
43bd681c34
Refinements.
2001-10-28 17:38:37 +00:00
Sebastian Bergmann
610bc7a194
More work on the README.
2001-10-28 15:22:50 +00:00
Sebastian Bergmann
2fa4b31386
javac 1.3 could not find reflect.class before. Also use -O flag when compiling a Release build.
2001-10-28 09:59:00 +00:00
Sebastian Bergmann
6719d80101
Add missing footnotes.
2001-10-28 09:07:37 +00:00
Sebastian Bergmann
1ffea56325
More work on the sapi/servlet documentation. This is still a work in progress.
2001-10-28 09:01:58 +00:00
Sebastian Bergmann
eff53313f5
Another fix for Tomcat 4.
2001-10-27 23:17:19 +00:00
Sebastian Bergmann
cb6e751008
Fix for Tomcat 4.
2001-10-27 23:14:49 +00:00
Sascha Schumann
1f6f91035e
Get rid of post_off-hack which was only suitable for POST data
...
which fit into the small thttpd read buffer. Do a small recv
after content-length bytes have been read to accomodate non-conforming
user-agents.
2001-10-27 12:08:10 +00:00
Sascha Schumann
a3368ababa
Improved handling of posts
2001-10-27 11:27:39 +00:00
Sterling Hughes
e967627ad6
no need to free these it seems
2001-10-26 11:17:34 +00:00
Rasmus Lerdorf
95dff71df7
This made no sense before. Hide Authorization in getallheaders() but
...
display it from phpinfo()? Ouch!
@ Hide Authorization header from phpinfo() output in safe_mode (Rasmus)
2001-10-21 00:03:55 +00:00
Stig Bakken
0cee8df65e
* fix module struct in rest of sapi modules
2001-10-12 12:11:48 +00:00
Thies C. Arntzen
838a7a9566
make it work again
2001-10-12 07:50:52 +00:00
Stig Bakken
99687096ca
* fix default path in configure help text
2001-10-10 16:14:25 +00:00
Derick Rethans
27fb33e8b7
- More <br> to <br /> fixes
2001-10-09 19:19:21 +00:00
Sascha Schumann
49b44d537f
Make the information available whether we are using HTTP/1.1
2001-10-09 15:15:55 +00:00
Derick Rethans
e4ebe9f1ff
- Changed <br> to - in PHP_INFO output.
2001-10-09 09:41:10 +00:00
Sascha Schumann
3db3d65d2e
typo fix by zoot@zotikos.com
2001-10-02 14:54:46 +00:00
Sascha Schumann
6db3f409d8
Add QUERY_STRING, HTTP_HOST, HTTP_ACCEPT_LANGUAGE to the script
...
environment.
Also support setting the INI path from the outside.
2001-09-30 18:23:28 +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
Rasmus Lerdorf
1df380da5a
new apache_setenv()
...
@- add apache_setenv() function for injecting variables into Apache's
@ subprocess_env table.
2001-09-22 10:11:53 +00:00
Daniel Beulshausen
3a386f8684
fix macro + nuke warning
2001-09-17 12:22:35 +00:00
Sascha Schumann
7c161fe069
WS-fix and directly use ap_psprintf instead of sprintf/ap_pstrdup
2001-09-16 16:03:49 +00:00