Shane Caraveo
1a4c82e014
fix bug 21261
putenv on some platforms requires we provide the memory
cleanup env parsing logic
fix bug 21367
missed optargs in a previous patch
23 years ago
Ilia Alshanetsky
5de9962d50
Fixed bug #21297 . The fix also fixes miscalculation of lines numbers by 1
due the previously mentioned bug.
23 years ago
Zeev Suraski
6591b9c826
Add missing call
23 years ago
Zeev Suraski
19d47d9f6e
Initialize lineno using the new infrastructure
23 years ago
Sebastian Bergmann
2c5d4b8c23
Bump year.
23 years ago
George Schlossnagle
190867c800
fixed ws
23 years ago
George Schlossnagle
abbf745211
fix for 21177
23 years ago
Stefan Esser
66ebbb5ae1
fix compile warning
23 years ago
Edin Kadribasic
d29309eb68
MFB:
Making build system changes according to proposal:
http://news.php.net/article.php?group=php.dev&article=92682
23 years ago
Melvyn Sopacua
2421e79b60
Fix make install target on Cygwin, bug #20807
23 years ago
Shane Caraveo
76e09401ab
aparently did not add these on head
removed ssize_t which was causing problems, and not in libfcgi anyway
23 years ago
Shane Caraveo
75cbbfacb1
fix use of Alias under apache by defaulting script_name to redirect_url
dont lstat, stat.
23 years ago
Shane Caraveo
9bc3f72d8e
build support for cgi fixes previously commited
23 years ago
Shane Caraveo
a3bd39429c
Fix CGI to match cgi spec.
This patch properly fixes support for CGI in PHP. For backwards compatible
broken behaviour, cgi.fix_pathinfo can be set to zero in php.ini.
CGI failed to work under apache at all, either using the cgi-script directive
or as a ScriptAlias setup. Typicaly it would try to parse itself. This will
still happen if you dissable fix_pathinfo, and set DISCARD_PATH.
This also fixes PATH_INFO, and finally we can run pres2 under cgi or fastcgi.
This patch has been tested under Apache 1.3, 2.0, IIS, as both cgi and fastcgi,
on Windows and OSX. A followup patch with build stuff for linux will follow.
23 years ago
foobar
dd53efc196
- Made the STANDARD_SAPI_MODULE_PROPERTIES be what it says it is.
24 years ago
Shane Caraveo
95b4045f48
configure now supports building the cgi-fcgi module
configure --enable-fastcgi
24 years ago
Edin Kadribasic
81711ba621
Avoid possible buffer overflow.
24 years ago
Edin Kadribasic
fd47c5bb32
MFB: Don't send default http status (200).
24 years ago
Edin Kadribasic
714a5be6cc
Fixed bug #19207 by adding cgi.rfc2616_headers configuration directive.
24 years ago
Andrei Zmievski
ca332dfc96
Oops.
24 years ago
Andrei Zmievski
3e8a800a96
Fix function prototype.
24 years ago
Andrei Zmievski
e09d62c435
Sort the modules and extensions before printing them when -m switch is used.
24 years ago
Marcus Boerger
cecb9dfc79
Implemented -n switch to skip parsing ini at startup as suggested by Wez.
#The switch 'n' was planned to be used for beautifying....delete n to make
#clear these functions do not have a switch yet.
24 years ago
Hartmut Holzgraefe
cb6202bbe8
reverting accidential commit
24 years ago
Hartmut Holzgraefe
0c395d0f4c
*** empty log message ***
24 years ago
Ilia Alshanetsky
64f77577f0
Fixed bug #20035 . ZE now allows us to pass the current line position by
setting zend_lineno to (current_line * -1).
24 years ago
Derick Rethans
d82565fb7a
- Fix build
#- Jan, please TEST! before committing :-)
24 years ago
Jan Lehnardt
ed29169f91
- alphabetcial output for php -h (cgi)
- cosmetics
24 years ago
Sascha Schumann
2909e5c9c9
centralize #include "build-defs.h" and drop (sometimes inconsistent) other
instances
24 years ago
foobar
9d21dd450d
- Moved CGI specific lines from configure.in to sapi/cgi/config9.m4
which is 'executed' last of the SAPI config.m4's.
- Added --disable-cgi option. (was possible only with above change)
- Made the sed check to not test for the possibly working sed on Solaris
since that would make the test quite useless. (compile would still fail)
# That sed check is not enabled yet..need to know whether we fail
# during configure or just put out a warning about possible non-working
# sed. As even plain ./configure doesn't work in most cases, I think
# it would be better to just fail during configure and let the users
# fix their paths/install GNU sed.
24 years ago
Shane Caraveo
69f56e8c4a
make fastcgi usage threadsafe, ready for future multithreaded fastcgi implementation
get rid of environment overwriting but hooking into php's environment function
set $_ENV correctly for mod_fastcgi
add -b to specify binding for fastcgi
new readme file with information for running under apache2.0 and iis
24 years ago
Shane Caraveo
acb9bc95e3
fixes for unix, untested
remove exit calls
fix a couple function definitions
24 years ago
Shane Caraveo
2b40a0f2a3
fix shutdown issues
24 years ago
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