summaryrefslogtreecommitdiff
path: root/sapi
Commit message (Collapse)AuthorAgeFilesLines
...
* Merged the Mac OS X compile changes from the Apache 1.3 SAPI.Marko Karppinen2002-04-221-8/+18
| | | | | | --with-apxs2 should now work on Mac OS X / Darwin. # Not tested, though. So shoot me! :)
* Reverting my previous patch.Edin Kadribasic2002-04-221-6/+6
|
* Added ..\..\..\php_build\lib\apache2 to libpath andEdin Kadribasic2002-04-211-6/+6
| | | | | ..\..\..\php_build\include\apache2 to includepath
* - Gaurd for problems in fault servers (fixes problem with Sambar 5.2)Derick Rethans2002-04-181-1/+1
|
* Document the new PHPINIDir directive in the apache2filter/README.Aaron Bannert2002-04-181-0/+9
|
* This patch implements a new Apache2 directive called PHPINIDir thatAaron Bannert2002-04-183-3/+43
| | | | | | | | | | | | allows the specification of the php.ini directory from within the Apache configuration. If left unset, the default is to defer to the hard-coded php paths. When set, the supplied path is made relative to Apache's internal ServerRoot setting. Example: PHPINIDir "conf" # PHP will now look in the ServerRoot/conf directory for the php.ini file
* Fix an intermittent SEGV when an error bubbled up from PHP before ourAaron Bannert2002-04-181-1/+8
| | | | | | | | server context was set. Now if that happens we simply don't log against any particular server config (vhost). Obtained from bug report by: Balazs Nagy <js@iksz.hu>
* It makes more sense to do the null-pointer check *before* trying to use it.Aaron Bannert2002-04-161-1/+1
| | | | | | | (Also fix a typo that Cliff pointed out: "safe" --> "save".) Obtained from: Ryan Morgan <rmorgan@covalent.net>
* ws fixesfoobar2002-04-141-18/+15
|
* Make it possible to actually disable the CLI..foobar2002-04-141-8/+4
|
* - Prevent users from trying to make a static build with Apache2 usingfoobar2002-04-131-26/+3
| | | | | | | | --with-apache # I have working --with-apache2 stuff also..need to test it a bit more # before committing it..
* - Added checks to prevent building the DSO with wrong configure option.foobar2002-04-122-0/+12
|
* Fix a typo and a build error detected by the lovely HPUX11 ANSI C compiler.Aaron Bannert2002-04-121-5/+7
|
* CGI/CLI take file and dir for -c option by this.Yasuo Ohgaki2002-04-122-32/+32
| | | | | @ Both 'file' and 'path to php.ini' is allowed for "-c" cli/cgi option. (Yasuo)
* Fix a problem where php-generated data was pushed down the entire outputAaron Bannert2002-04-112-3/+5
| | | | | | | | filter chain instead of just down the rest of the chain. This fix will speed up some unnecessary overhead introduced in the last patch. Suggested by: Cliff Woolley <jwoolley@apache.org>
* PHP filters and Apache 2 aren't quite a perfect match yet, so we haveAaron Bannert2002-04-112-24/+70
| | | | | | | | | | | | | | | | | | | | | | | to do some trickery with the server_context to make sure it is always valid within the current thread. This patch makes sure the server_context is created in apache's post_read_request hook phase, and then registeres a cleanup that will NULL out the server context when the request goes out of scope. Then, inside the output filters, if the server_context is null we throw an error. Finally, instead of saving the output filter in the server_context, now we store the entire request_rec pointer in there. POST bodies appear to be working now, although they are very inefficient. The input filter is still just realloc()ing for whatever data comes down the input pipe, and then sending this to PHP. This means that we are doing some really nasty memory management on big POST bodies. For now this it allows for unlimited input bodies, which means that a big POST could potentially DoS a box by making it run out of memory. We might want to put a limit on here just in case, at least until we figure out how to consume input data more efficiently into php.
* Don't depend on the context provided by the filter (f->ctx) anymore. InAaron Bannert2002-04-111-6/+3
| | | | | | | | Apache 2 the input and output filter contexts are kept unique. We now only depend on SG(server_context) for each request, and assume that the same thread will process the entire request. At some point it would be wise to separate the input and output contexts.
* Return the number of bytes consumed, not the number of bytes left.Aaron Bannert2002-04-111-1/+1
| | | | | Suggested by: Brian Havard <brianh@kheldar.apana.org.au>
* Update README.Sebastian Bergmann2002-04-111-5/+2
|
* Patch by Aaron Bannert <aaron@clove.org> and Cliff Woolley ↵Sebastian Bergmann2002-04-112-82/+72
| | | | <jwoolley@virginia.edu>.
* Let people know this stuff is experimental.foobar2002-04-101-1/+1
|
* eekk -- and ssb thought my macro's were icky :)Sterling Hughes2002-04-091-2/+2
|
* fix compile warningsSterling Hughes2002-04-091-2/+2
|
* Fix output directory.Sebastian Bergmann2002-04-061-4/+4
|
* Fix output directory.Sebastian Bergmann2002-04-062-4/+4
|
* Fix Debug_TS build.Sebastian Bergmann2002-04-061-1/+1
|
* fix quotingWez Furlong2002-04-021-1/+1
|
* just did...James Cox2002-04-021-1/+0
|
* updated the alert sent to the browser. removed the verbosity, and linked to ↵James Cox2002-04-021-14/+6
| | | | more info.
* Enable --with-apxs build on Mac OS X. We build an MH_BUNDLE instead ofMarko Karppinen2002-03-301-12/+17
| | | | | | | | an MH_DYLIB. As all PPC code is relocatable, we don't use the libtool based shared build but go a static route. Goodbye libtool! # I'm committing this to enable widespear testing. # Anyone have any ideas on how to easily backport this to 4.2.0?
* Prepare for MH_BUNDLE build on Mac OS X / DarwinMarko Karppinen2002-03-291-0/+5
|
* adjust to recent apr bucket api changesDoug MacEachern2002-03-291-7/+11
|
* WS fixfoobar2002-03-271-7/+6
|
* recorrect las checkinMarcus Boerger2002-03-271-1/+1
|
* allow other modes to work with -- correctMarcus Boerger2002-03-261-1/+1
| | | | | #original idea was to allow this *only* for PHP_MODE_STANDARD
* fix behaviour on --Marcus Boerger2002-03-261-1/+2
| | | | | #now php -- -i for scriptfile -i works
* Backslashes caused the build to fail with autoconf 2.52Alex Waugh2002-03-241-2/+1
|
* Override max_execution_time, setting it to unlimited.Edin Kadribasic2002-03-242-0/+2
|
* Documented -r and added TODOEdin Kadribasic2002-03-232-0/+7
|
* -removed -xMarcus Boerger2002-03-231-45/+38
| | | | | | -error handling for illegal switch combinations -corrected ws for one case block
* Nuke unused variables.Sebastian Bergmann2002-03-231-2/+0
|
* @Added new switch -x to CLI that enables execution of files without ↵Marcus Boerger2002-03-221-9/+50
| | | | | | | | @scripting tags. (Marcus) -Add -x #Read follow up mail
* - Fix whitespace (guys, please try to stick with the php4 tree style as farZeev Suraski2002-03-191-1/+1
| | | | | | | as indentation/newlines go, and also as far as using {} even on if's that have single statements) - Fix Windows build
* add security impersonation feature for running under IIS securityShane Caraveo2002-03-183-9/+171
|
* Add impersonation feature for running under IISShane Caraveo2002-03-181-4/+16
|
* fix closing pipesShane Caraveo2002-03-171-14/+37
| | | | | fix buffer overrun
* Add note on which version of Apache 2 this SAPI module is compatible with.Sebastian Bergmann2002-03-141-1/+2
|
* Sync with Apache2 Filter API change.Sebastian Bergmann2002-03-131-2/+2
|
* -passing arguments to CLI, see: php -hMarcus Boerger2002-03-112-41/+64
|
* Instructions for using FastCGI-PHP with ApacheBen Mansell2002-03-111-0/+53
|