Apache 2 and building libphp4.so

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
markdiener
Forum Newbie
Posts: 2
Joined: Fri Aug 02, 2002 9:20 am

Apache 2 and building libphp4.so

Post by markdiener »

Who knows how to build libphp4.so
and the command line for configure.

I have apache2.

There are a few ways I have tried this:

1)

./configure --with-mysql --with-apache=/apachepath

this will make a libphp4.a that is 10 MB in
size

2)

./configure --with-mysql --with-apxs2=/apacheapxspath

this will complete configure but fail in make

3)

./configure --with-mysql --with-apxs=/apxspath

this fails in make because apache2 is
to be used with apxs2. it compains about
version one versus version two.

Questions:

A)

Is it alright to use libphp4.a
and can I refer the httpd.conf file
to load this static library instead
of libphp4.so?

Will this consume lots of memory?

B)

How would you build libphp4.so support
to work with Apache2.

I have noticed in the default shipment
of apache that PHP4.1.x is included
and it was built with --with-apxs.

Is there a way to override this?

C)

Is Apache2 with apxs2 stable or still
EXPERIMENTAL?
markdiener
Forum Newbie
Posts: 2
Joined: Fri Aug 02, 2002 9:20 am

Post by markdiener »

As an additional note,
I am trying to build libphp4.so from
source of PHP4.2.2.

Thanks,

mark
Post Reply