Shane Caraveo
bfd3efcbd3
fix invalid handle issue that shutdown php fastcgi prematurly
fix checking os name for impersonation
24 years ago
foobar
068907c9bc
- Removed sapi/fhttpd (this webserver is dead)
24 years ago
foobar
ba3730c2c8
ws fix
24 years ago
Sascha Schumann
e6e54605b7
Follow Yasuo's suggestion and build sapi program's under the sapi-specific
directory.
Move sapi-specific makefile fragments to their respective directory.
Create an embed sapi module which resides in its own dir now.
24 years ago
Zeev Suraski
d31604997b
We leak quite a few things intentionally, if you want to debug it - enable
explicitly please..
24 years ago
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...
24 years ago
foobar
3bf7519210
@- Added --disable-all configure option. (Jani)
24 years ago
Marcus Boerger
0b25d07f15
Fix headers when default content type is used.
#THIS fixes the problems with error_log()
24 years ago
Edin Kadribasic
1fb6a30f0f
Debug functions should only work in debug mode.
24 years ago
Harald Radi
e84bddf76a
dump memory leaks on shutdown
24 years ago
Marko Karppinen
6d80c191bb
The link lines don't need any of $DEFS, $INCLUDES, $EXTRA_INCLUDES or
$CPPFLAGS, right? Removed them. Added frameworks to $COMMON_FLAGS.
24 years ago
Marko Karppinen
5611c2fc78
Support compiling and linking against Darwin / Mac OS X frameworks
24 years ago
Marko Karppinen
b231fc0d35
Made PHP_ADD_LIBPATH use the $ld_runpath_switch and changed the Darwin
link lines in sapi/cli and sapi/cgi to use $NATIVE_RPATHS.
This is a tentative fix for #18450 .
24 years ago
Marko Karppinen
a6eeec28b6
Moved the cgi link line to sapi/cgi/config.m4 and stopped
using libtool on Darwin on it
24 years ago
Sascha Schumann
2c3801b979
Generate content-type header, if the user did not specify one of its own.
Noticed by: Edin Kadribasic <edink@proventum.net>
24 years ago
Sascha Schumann
b3e562f9ef
Add CRLF after complete HTTP reply header
24 years ago
Sascha Schumann
99cfb41da0
Use "Status: %d" instead of "HTTP/1.0 %d X" in the CGI SAPI module
as per the CGI RFC.
The status notation is incompatible with Apache's non-parsed-header mode
"nph-*", but that has never worked before anyway. One could make the
format string configurable.
Noticed by: Sebastian Bergmann
24 years ago
Andi Gutmans
805a1653f0
- Revert WS changes
24 years ago
Andi Gutmans
85983fe957
- This shouldn't have snuck in.
24 years ago
Andi Gutmans
4216379152
- Stop using persist_alloc().
24 years ago
Edin Kadribasic
2d953b348a
Merge from cli.
24 years ago
Edin Kadribasic
8e15de012a
Added copyright notice to php -v output.
24 years ago
Zeev Suraski
5af649efbd
Revert to the old php_ini.c, and reimplement the binary-path searching.
Should now also work under UNIX (CLI/CGI)
24 years ago
Markus Fischer
ccbadfc111
- Prefix the first version line with 'PHP' so it's easier to use shell tools to
parse the version number (both CLI and CGI).
24 years ago
Markus Fischer
bf351e9639
- This affects both CGI and CLI sapi:
Remove Zend version output from -m switch and move it over to the output of
the -v switch (-v is supposed to list version numbers, not -m).
24 years ago
Preston L. Bannister
57c5998ff9
Backed out preceding change.
24 years ago
Preston L. Bannister
d706e224ac
Detect when running under IIS and default force_redirect to zero. This This means an explicit php.ini setting is no longer required.
(No extraneous whitespace changes this time :).
24 years ago
foobar
42c82bb40d
Revert the last patches.
24 years ago
Preston L. Bannister
06f375b1cf
Detect when running under IIS and not require explicit setting of force_redirect.
This means an explicit php.ini setting is no longer required.
24 years ago
Sander Roobol
7586cdc654
Added the current SAPI to the output of php -v
24 years ago
Sander Roobol
7a64b2b7e5
Fixed some minor typos
24 years ago
Sebastian Bergmann
edba077000
Fix build.
24 years ago
James Cox
ba85302e79
updated cgi warning notice.
24 years ago
Yasuo Ohgaki
439b56842f
CGI/CLI take file and dir for -c option by this.
@ Both 'file' and 'path to php.ini' is allowed for "-c" cli/cgi option. (Yasuo)
24 years ago
Wez Furlong
abc5a2cacb
fix quoting
24 years ago
James Cox
99a68d4f83
just did...
24 years ago
James Cox
f3d107a180
updated the alert sent to the browser. removed the verbosity, and linked to more info.
24 years ago
Shane Caraveo
c806dca62c
add security impersonation feature for running under IIS security
24 years ago
Shane Caraveo
4a8dda7d01
fix closing pipes
fix buffer overrun
24 years ago
Sebastian Bergmann
3573a92c1a
Fix warning, hope this is okay.
24 years ago
Shane Caraveo
c8f5565bf3
woohoo, take some credit!
24 years ago
Shane Caraveo
f3a60dd1a6
children should be zero by default, enable by setting PHP_FCGI_CHILDREN env var.
24 years ago
Shane Caraveo
79bb884eec
combine fastcgi capability with regular cgi binary
include fastcgi library for ease of windows builds
NOTE: included fastcgi library is modified for thread safety, but
fastcgi support in cgi_main.c is only written for single
threaded serving. This does not present any issue for using
fastcgi.
24 years ago
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
24 years ago
Derick Rethans
393cbe0ac3
- Put them back (and do it right)
24 years ago
Derick Rethans
c8740575c4
- Remove unused variables
24 years ago
Shane Caraveo
db73f90953
add comment for IIS users
fix some whitespace
24 years ago
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
24 years ago
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.
24 years ago
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.
24 years ago