Re: Segfaults restarting on Linux with worker MPM

2002-04-15 Thread David Ford
Just a side note, I use a wrapper for free() in my code, it checks to ensure the input isn't 0x0, frees the passed pointer, then sets the pointer to 0x0. If the passed pointer is already 0x0, I log where it was called from so my logs show I'm doing a double free. The added benefit of free(0x

Re: Drop md5 from htpasswd docs please

2002-04-01 Thread David Ford
Is it possible for whomever knows best to provide code or help to the PHP group and make a PHP _md5() function? Or adapt the current PHP function w/ an additional attribute to select which type of hash to use? md5($string, ..., HASH_NORM|HASH_BSD), it'd be very nice if the latter was accepte

debugging httpd and php

2002-03-15 Thread David Ford
There was some recent talk on the list about debugging apache. I have current HEAD code for both httpd-2.0 and php42. If I try to start apache with the php module, it silently crashes on startup. So I pop it into gdb and here's what I get. (gdb) r -X Starting program: /src/cvs/httpd-2.0/http

subtle aesthetics bug

2002-03-08 Thread David Ford
Index of / NameLast modified Size Description Apache/2.0.32-dev Server at new.m2000inc.com Port 80 Oops, it's actually port 81 as per "Listen 81".  This web server is not listening to anything but port 81. David

Re: Compiling apache2 against glibc 2.2.5

2002-03-08 Thread David Ford
GCC 3.x has been working quite well for me across my farm of servers. I've been using it since it came out and I upgrade glibc when it comes out as well. No problems noted w/ 24x7 uptime across a variety of cpu and hardware types. David Justin Erenkrantz wrote: >On Thu, Mar 07, 2002 at 05:5

Re: bugdb user database corrupted

2002-02-17 Thread David Ford
Run strings on the db, they keys will be in the form of RHS\nLHS. as in the right hand side will appear then the left hand side will appear. e.g. user, password: ... mypassword David ... You may have to rebuild the db. David Joshua Slive wrote: >Someone told Aaron to use htpasswd to add hi

Re: rewrite and SSI's broken in httpd20 HEAD

2002-02-08 Thread David Ford
This sort of thing seems to be biting a lot of people. Nobody is aware of the filters section that is now required. In my first pass at getting apache2 and php working, I spent three days before I came across a post made reference to the filters. Perhaps an "UPGRADE" or "README.new-requireme

Re: Apache2 and php

2002-02-04 Thread David Ford
helping is appreciated. This is HEAD of httpd2 and php 4.1.1. php42 HEAD simply does not work, David David Ford wrote: > My apologies, I realized that after I sent it. Actually that is > incorrect. This seems to be a fairly unknown answer as nobody was able > to answer it for me in

Re: Apache2 and php

2002-02-04 Thread David Ford
need to add the following:AddType application/x-httpd-php .phpDanielOn Mon, Feb 04, 2002 at 05:20:25PM -0500, David Ford wrote: What does apache2 need in httpd.conf to properly shunt php files through the php engine before serving them?Apparently it needs more than just Load libphp4.soNote, I'm

Apache2 and php

2002-02-04 Thread David Ford
What does apache2 need in httpd.conf to properly shunt php files through the php engine before serving them? Apparently it needs more than just Load libphp4.so Note, I'm using php 4.1.1 with httpd_2_0 HEAD. Thank you, David

Re: Ongoing 2.0.31 and php hiccups

2002-02-04 Thread David Ford
m >using PHP 4.1.1 with the following configure command : > >configure --prefix=/opt/apache2/modules \ >--enable-so --with-apache=/opt/apache2 >--with-apxs2=/opt/apache2/bin/apxs > >-Madhu > >-Original Message- >From: David Ford [mailto:[EMAIL PROTECTE

Re: Ongoing 2.0.31 and php hiccups

2002-02-03 Thread David Ford
dump in the original httpd parent. David Cliff Woolley wrote: >On Sun, 3 Feb 2002, David Ford wrote: > >>Ok, has -anyone- gotten php and apache running together the last week? >> If so, would you mind terribly if you posted the configure/make lines >>please? I'm g

Ongoing 2.0.31 and php hiccups

2002-02-03 Thread David Ford
Ok, has -anyone- gotten php and apache running together the last week? If so, would you mind terribly if you posted the configure/make lines please? I'm getting kind of fidgity and needing to get it going :) Apache by itself seems fine. I've gotten down to a barebones ./configure --with-ap

Re: cvs commit: httpd-2.0 STATUS

2002-02-03 Thread David Ford
I recommended it on lkml quite a while back, but I don't think the current OOM killer has it (SIGDANGER). -d Jeff Trawick wrote: >Does anybody know if the process receives some sort of signal before >you get nuked on Linux? > >On AIX, in this situation the kernel sends SIGDANGER to some runnin

Re: PHP42/Zend update needed for Apache 2.0.31

2002-02-01 Thread David Ford
t; CPPFLAGS="$CFLAGS" make -j2 LDFLAGS="-L/usr/local/ssl/lib" David Justin Erenkrantz wrote: >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

Re: PHP42/Zend update needed for Apache 2.0.31

2002-02-01 Thread David Ford
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. David Justin Erenkrantz wrote: >On Thu, Jan 31, 2002 at 04:15:38PM -050

PHP42/Zend update needed for Apache 2.0.31

2002-01-31 Thread David Ford
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? :) I'd like to help, but I'm rather new to the code. If I'm speaking to the wrong people, please let me know. Apache c

PHP42/Zend update needed for Apache 2.0.31

2002-01-30 Thread David Ford
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? :) I'd like to help, but I'm rather new to the code. If I'm speaking to the wrong people, please let me know. Apach

Re: Parent death should force children suttee

2002-01-30 Thread David Ford
I don't know about other sites, but the servers I manage tend to start showing oddness rather quickly when something goes wrong. I would rather have a clean and quick restart than have a degradation in service. With that said, I don't know of many people who would rely on this feature. As a

Re: Parent death should force children suttee

2002-01-30 Thread David Ford
Any important site that relies on uptime -should- have some thought already put into it. If something fails, some procedure immediately takes steps to fix it, i.e. a watchdog that restarts apache. If you don't have something like this in place and you are relying so heavily on uptime, you are

Re: cvs commit: httpd-2.0/server protocol.c

2002-01-30 Thread David Ford
I don't know what version of gcc you are using, but gcc 2.95.3 and gcc 3.0.3 give me a warning. gcc has always issued that warning for me as long as I can remember. David Justin Erenkrantz wrote: >On Tue, Jan 29, 2002 at 09:34:20PM -0500, Jeff Trawick wrote: > >>protocol.c: In function `ap_r

CVS code on 1/25/02 | problem: segfault on startup

2002-01-25 Thread David Ford
This is my first foray into apache 2.0 land so I'm not familiar with things. I built glibc 2.2.5 and apache broke. I rebuilt apache and it still broke :) (gdb) bt #0 apr_palloc (pool=0x813e720, size=24) at apr_pools.c:438 #1 0x4003524f in apr_array_make (p=0x813e720, nelts=30, elt_size=20) a