[PHP-DEV] Help with SAPI and INI

2003-02-21 Thread Justin Erenkrantz
Hello all, Pardon my cluelessness, but I'm trying to teach the apache2* SAPI's about PHP's xbithack setting per the following bug (which Jani has pointed me at): http://bugs.php.net/bug.php?id=22321 I believe I have the logic for that bug corrected in my tree. (As an aside, this particular bu

Re: [PHP-DEV] CVS Account Request: jerenkrantz

2003-02-19 Thread Justin Erenkrantz
--On Wednesday, February 19, 2003 6:39 PM +0100 Derick Rethans <[EMAIL PROTECTED]> wrote: On 19 Feb 2003, Justin Erenkrantz wrote: Merge new SAPI apache2handler from HEAD into PHP_4_3. The new handler should not go to PHP_4_3, as that branch is for bug fixes only. Oops, I meant

[PHP-DEV] CVS Account Request: jerenkrantz

2003-02-19 Thread Justin Erenkrantz
Commit bug fixes to Apache httpd 2.0 SAPI interfaces. Merge new SAPI apache2handler from HEAD into PHP_4_3. -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [PATCH] Apache 2.0 Handler module

2003-02-10 Thread Justin Erenkrantz
On Mon, Feb 10, 2003 at 09:10:44PM -0800, Ian Holsman wrote: > On Mon, 10 Feb 2003 15:44:22 -0500, Ilia A. wrote: > > > The patch appears to work correctly with only one 'interesting' bug. When > > the virtual() function is used to include a php file or php files are > > included via the use of mo

Re: [PHP-DEV] [PATCH] Apache 2.0 Handler module

2003-02-10 Thread Justin Erenkrantz
--On Monday, February 10, 2003 3:44 PM -0500 "Ilia A." <[EMAIL PROTECTED]> wrote: The patch appears to work correctly with only one 'interesting' bug. When the virtual() function is used to include a php file or php files are included via the use of mod_include, random binary data is dumped on

[PHP-DEV] [PATCH] Apache 2.0 Handler module

2003-02-10 Thread Justin Erenkrantz
In the spirit of code rather than discussions that lead nowhere, here is a contribution that removes the filter code from PHP's sapi layer for Apache httpd-2.0. Until Zend can cleanly support streamy input, PHP should probably just use this method. Of course, this will not solve the threadsafety

Re: [PHP-DEV] autoconf version

2002-09-26 Thread Justin Erenkrantz
On Thu, Sep 26, 2002 at 11:03:18AM -0400, Colin Viebrock wrote: > I'm just wondering if that's a mistake. Does 2.53 contain buggy cache > code and is downgrading my version of autoconf really the appropriate > solution? Or was the cache issue solved in a later version, and the > buildconf messag

Re: [PHP-DEV] Streams: FTP/HTTP wrapper gurus wanted

2002-08-11 Thread Justin Erenkrantz
On Sun, Aug 11, 2002 at 03:49:45PM +0100, Wez Furlong wrote: > I thought that Apache 2 would result in a more widespread usage of > DAV (I'm not sure why I think that - something to do with subversion, > IIRC)? httpd-2.0 includes mod_dav in the stock distribution. -- justin -- PHP Development

[PHP-DEV] [PATCH] apache2filter - add new filter registration parameter

2002-06-28 Thread Justin Erenkrantz
This syncs up with a recent API change to httpd-2.0 and will get apache2filter building again. I'm not sure what PHP's policy is on backwards-compatibility with older httpd-2.0 releases, so I'll leave out the MMN check. I will try to work on a more complete fix for PHP this weekend as it is susc

[PHP-DEV] Streamy PHP parser input?

2002-06-10 Thread Justin Erenkrantz
One of the major problems with the apache2filter is that it can not work with any other resource output filter. So, a configuration like (I would like to use this configuration): AddOutputFilterByType BUCKETEER text/html AddType text/html .php AddOutputFilter PHP .php can not work because the b

[PHP-DEV] [PATCH] Remove input filter from apache2filter SAPI

2002-06-10 Thread Justin Erenkrantz
The input filter in the apache2filter doesn't serve any real purpose as PHP is not transforming any of the data. IMHO, it would be better if it switched to just grabbing the input when it needs it via the sapi_read_post function. Please let me know if you have any questions. -- justin Index: s

Re: [PHP-DEV] Apache 2 support

2002-06-03 Thread Justin Erenkrantz
On Mon, Jun 03, 2002 at 10:06:42PM -0600, Venkat Raghavan wrote: > Hi. I'm trying to build the PHP interface to Apache 2 (still mod_php, I > guess). I see an apache2 directory that is empty and an apache2filter > directory. The Readme in the latter says that it "exploits the layered > I/O support

Re: [PHP-DEV] Re: User-space functionality of apache2filter

2002-06-02 Thread Justin Erenkrantz
On Sun, Jun 02, 2002 at 11:33:08AM -0700, Aaron Bannert wrote: > I really wish people would stop quoting artificial dates for when the > apache2filter will magically become stable, and just start using it > and identifying problems. A few of us have put some great effort into > making it usable, a

Re: [PHP-DEV] [PATCH] Fix bundle compilation on Darwin for Apache 2.0

2002-05-13 Thread Justin Erenkrantz
On Mon, May 13, 2002 at 10:41:16PM +0300, Marko Karppinen wrote: > One More Thing, Justin :) > > > +MH_BUNDLE_FLAGS="`$APXS_BINDIR/apr-config --ldflags --link-ld --libs`" > > Could you give me a scenario where we might need something from --ldflags or > --link-ld? Wouldn't just the libs do? I'd

Re: [PHP-DEV] [PATCH] Fix bundle compilation on Darwin for Apache 2.0

2002-05-12 Thread Justin Erenkrantz
On Mon, May 13, 2002 at 09:04:36AM +0300, Marko Karppinen wrote: > I have been quite happy to have finally got rid of libtool on our links, > however! I'd much prefer committing the rest of your patch and waiting for > the first bug report about libtool-specific dependencies. > > The problem is t

[PHP-DEV] [PATCH] Prefer glibtool over libtool (resend)

2002-05-12 Thread Justin Erenkrantz
(This is a resend of an earlier patch.) It switches to preferring glibtool over libtool so that we can correctly run buildconf on Darwin. Since Darwin comes with a libtool but not the GNU libtool, we should try glibtool first. Since libtool exists, we don't look for glibtool and then when we tr

[PHP-DEV] [PATCH] Fix bundle compilation on Darwin for Apache 2.0

2002-05-12 Thread Justin Erenkrantz
This patch adds support for Darwin bundles for the apache2filter module. I brought up extending apxs to allow building self-contained libraries on the dev@httpd lists to no answer. Since Darwin is a special case that requires self-contained libraries (unless using a flat namespace), I don't thin

[PHP-DEV] [PATCH] Fix apache2filter with threaded MPMs

2002-05-05 Thread Justin Erenkrantz
With a threaded MPM of httpd-2.0, the userdata wouldn't have its state stored properly (it'd always be NULL). Therefore, the server would fail in odd ways later on. tsrm_startup() would never be called and would segfault in php_post_read_request when it tried to acquire the NULL mutex. This c

Re: [PHP-DEV] [PATCH] Get apache2filter to link on Darwin

2002-05-05 Thread Justin Erenkrantz
On Sun, May 05, 2002 at 02:21:31AM -0700, Justin Erenkrantz wrote: > By default, Darwin requires that all references be resolved at > compile-time instead of run-time for bundles. So, when we try to > build the apache2filter module, we are calling some APR and APR-util > functi

[PHP-DEV] [PATCH] Get apache2filter to link on Darwin

2002-05-05 Thread Justin Erenkrantz
By default, Darwin requires that all references be resolved at compile-time instead of run-time for bundles. So, when we try to build the apache2filter module, we are calling some APR and APR-util functions from the module. Since apxs does not expose the linking information for APR or APR-util,

[PHP-DEV] [PATCH] Prefer glibtool over libtool

2002-05-05 Thread Justin Erenkrantz
This patch switches buildcheck.sh so that it prefers glibtool over libtool. This is especially needed on Darwin systems because their libtool isn't GNU libtool. Since a libtool does exist, but it isn't GNU libtool, it fails the lt_pversion test. So, if we prefer glibtool over libtool, we avoi

[PHP-DEV] Re: PHP42/Zend update needed for Apache 2.0.31

2002-02-01 Thread Justin Erenkrantz
On Fri, Feb 01, 2002 at 01:28:50PM -0500, David Ford wrote: > I can build php fine (did you do the php/Zend and php/TSRM > checkout/update?), I just haven't had much luck in the past two weeks > getting apache to startup with php installed. Nuttin' but segfaults Jim. Yeah, I have those dirs.

[PHP-DEV] Re: PHP42/Zend update needed for Apache 2.0.31

2002-01-31 Thread Justin Erenkrantz
On Thu, Jan 31, 2002 at 04:15:38PM -0500, David Ford wrote: > Apache 2.0.31 got tagged this evening, the php/zend code has been out of > sync with it for a bit now. > > Would anyone mind chit chatting and getting the appropriate code > updated? :) FWIW, I think DougM has made the appropriate in

[PHP-DEV] Re: PHP Apache2Filter crashes on Win32

2002-01-21 Thread Justin Erenkrantz
On Mon, Jan 21, 2002 at 01:23:42PM +0100, Sebastian Bergmann wrote: > Here's a backtrace: > > ap_save_brigade(ap_filter_t * 0x10d57628, apr_bucket_brigade * * > 0x10d56004, apr_bucket_brigade * * 0x10a6fe74, apr_pool_t * 0x10d55b30) > line 418 + 49 bytes > php_output_filter(ap_filter_t * 0x10d5