Re: PHP building on Linux: A question on configure script!
| From: | Ananth Kesari | Date: | Tue, 17 Dec 2002 05:36:15 +0000 |
| Subject: | Re: PHP building on Linux: A question on configure script! | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-92550@lists.php.net to get a copy of this message | ||
Well, we could figure out this as of now. Thanks for your response. We will get back if we have
further problems.
Thanks,
Ananth.
>>> Derick Rethans <derick@php.net> 12/13/02 08:04PM >>>
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/
-------------------------------------------------------------------------
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php