Apache 2 and building libphp4.so
Posted: Fri Aug 02, 2002 9:20 am
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?
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?