On Tue, 2 Sep 1997 rasmus@bellglobal.com wrote:
> > More seriously, if you are planning on PHP 3.0 being out in the next few
> > months you would be well advised to have 1.2 support, even if it isn't
> > pretty. Or you could include a patch to make the 1.2 Configure do the 1.3
> > stuff with it.
>
> Perhaps we could sneak the 1.3-style Configure code into 1.2.5 if for some
> reason a 1.2.5 becomes necessary?
Mmm. I'm not sure we want to go that way.
>
> The other problem I have is that the httpd.h file is in different places
> between the two versions. In order to figure out which version I am dealing
> with I need to check the MODULE_MAGIC_NUMBER in httpd.h.
find $apache_dir -name "httpd.h" | head -1
or
[ -f $apache_dir/src/httpd.h ] && foo
[ -f $apache_dir/src/main/httpd.h ] && bar
...if they have more than one in their source tree, they are messed up so
that is their problem.
>
> Right now for PHP 3.0 I have to tell the user to go to his Apache directory
> and look around for httpd.h somewhere under there. And once found, to
> start the PHP configure script with something like:
>
> ./configure --with-apache=/usr/local/src/apachen/src/main
>
> I suppose I could write something which did the hunting for them and just
> have them enter the top-level Apache dir.
>
> -Rasmus
>
|