Am Montag, 20. Mai 2002 23:39 schrieb Oden Eriksson:
> On Mondayen den 20 May 2002 21.43, Alexander Feigl wrote:
> > Am Montag, 20. Mai 2002 22:35 schrieb Oden Eriksson:
> > > On Mondayen den 20 May 2002 20.17, J.P. Pasnak wrote:
> > > > On May 20, 2002 03:15 am, Oden Eriksson wrote:
> > > > > On Mondayen den 20 May 2002 10.30, Lonnie Borntreger wrote:
> > > > > > What's the target for making Apache 2 the "default" server
> > > > > > instead of Apache 1?
> > > > >
> > > > > I think it's like this:
> > > > >
> > > > > 1. When apache2 is stable.
> > > > > 2. When the other softwares for apache1 works for apache2.
> > > >
> > > > Speaking of which, does anyone know the status of PHP and Apache2?
> > >
> > > No, but I was about to start trying to make a package.
> >
> > I got php support working after some experiments. Seems to work well here
>
> Would you mind sharing how you did it?

It was more or less a trial and error procedure. It don't remember it exactly 
but here is the rough procedure. If this does fail I'll try to compile it 
again as soon as I have time and give better instructions.

- I used the php-devel files as a base. The main problem was that libtsrm is 
needed by the module but it is not included in the package

- I started with php source and compiled a own php with mod_php included. This 
failed. I don't remember if it compiled but if it compiled  it crashed httpd. 

- I took the libtsrm of the building process, created a normal library archive 
from it (libtsrm.a)

- I used buildext to compile the apache2filter source files, linked it against 
libphp_common, libapr and libtsrm

This resulted in a libphp4.so that worked with apache2. I'm using it on my 
home network. It is constantly used to set the machine online and offline.

Alexander Feigl


Reply via email to