Re: PHP building on Linux: A question on configure script!
| From: | Derick Rethans | Date: | Fri, 13 Dec 2002 14:34:48 +0000 |
| Subject: | Re: PHP building on Linux: A question on configure script! | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-92455@lists.php.net to get a copy of this message | ||
Hi,
On Fri, 13 Dec 2002, Ananth Kesari wrote:
> To build for Apache on Unix, it appears that we have to use the
> following options in the configure script to get the equivalent of
> what I mentioned above:
>
> --with-apache=<Path to Apache source> --disable-posix
> --with-mysql=shared --with-ldap=shared --enable-ftp --enable-bcmath
> --enable-calendar
>
> The problem in this approach is that we seem to be getting a static
> library (xxx.a) as an output. We are not clear what we are supposed to
> do with this library! Perhaps this needs to be then built along with
> Apache into the Apache executable.
Yup, you're correct with that statement.
>
> There is an option called:
>
> --with-apxs=<path to the apxs script of Apache>
>
> which seems to produce a "DSO" which doesn't seem to work on Linux.
> The build fails due to errors in the apxs script.
--with-apxs would be the way to go, what errors do you get? Are you
using Apache 1.3 or a 2.0 series?
Derick
--
-------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
PHP Magazine - PHP Magazine for Professionals http://php-mag.net/
-------------------------------------------------------------------------