Re: apache build
- From: "Roberto C. Sanchez" <roberto@xxxxxxxxxxxx>
- Date: Sun, 31 Dec 2006 10:00:27 -0500
(Message reformatted for readability)
Note: Please fix your email program so it produces sensibly formatted
emails.
On Sun, Dec 31, 2006 at 01:20:02PM +0000, Andrew Critchlow wrote:
Hi eveyone, I am in desperate need of help to understand theOut of curiousity, why build from upstream? Debian provides packages of
configuration when using ./configure to install apache 2.
apache2 in both Sarge and Etch.
./configure --prefix=/usr/local/apache --enable-soThat is a correct configure command for apache.
I understand what the prefix does, its the module theory. From my
understanding --enable-so, enable shared objects. So correct me if
That is correct.
i'm wrong I can now, in the httpd.conf load a module via, for
example:LoadModule php5_module modules/libphp5.so But then there are
That is also correct.
commands such as:--add-module=module_type:/path/to/3rdparty/mod_foo.c
That is used to statically compile a module in.
--enable-module=shared and --enable-module=shared. What do each of
These are the same and basically mean that the module is included as
part of the httpd source distribution and should be compile as an apache
DSO.
these do? Why would I ever need this if I have used --enable-so ? I
If you used --enable-so, the first command (--add-module) might be used
because you want some modules linked statically no matter what, like
SSl, for example. The --enable-module is used to add modules, like
rewrite, proxy, auth and others.
installed PHP using ./configure --enable-so and everything worked
Why? Are the Debian php5 packages not sufficient?
fine. Also where does apxs come into it all? When I configured PHP I
The apxs command is used by programs that compile against apache to
figure out certain things about apache, like which MPM it is using,
which directories contain the headers, etc.
used: ./configure --with-apxs2=/usr/local/apache/bin/apxs I don't
really understand what this means? Many many thanks to anyone who can
All it does is tell PHP where to find apahce's apxs since it is not in
your path.
help with this!
Regards,
-Roberto
--
Roberto C. Sanchez
http://people.connexer.com/~roberto
http://www.connexer.com
Attachment:
signature.asc
Description: Digital signature
- References:
- apache build
- From: Andrew Critchlow
- apache build
- Prev by Date: Re: Looking for music player software
- Next by Date: Re: Clone root partition
- Previous by thread: apache build
- Next by thread: soundjuicer and mp3
- Index(es):
Relevant Pages
- Re: Web / email server
... Ankush Grover schrieb: ... >> Setup software (Linux, Apache, email
program to receive and ... > e) Apache for web services. ... (Fedora) - Problems complieing apache_1.3.31 and SSL
... > Final apache compile error message: ... not be in the mod_ssl source
tree. ... around it by including a version of ssl_expr_scan.c that does compile. ...
(comp.unix.solaris) - Re: Viewing web content off-line (Apache) - default Oracle install of self-service apps
... If the Apache binary delivered with Oracle was compiled with DSO (httpd -l ...
to see the list) then you can use APXS to compile the modules, ... then just build your
own Apache and drop it in. ... IMHO your best bet would be one of the Authen/Authz handler
combinations. ... (Security-Basics) - Re: How to ADD SSL Support to Apache?
... > You'll have to compile ssl then compile ... " The normal procedure with
apxs is to compile Apache ... I have a ../mod_ssl source directory that was
included in the original ... (comp.unix.solaris) - Re: How to ADD SSL Support to Apache?
... >>You'll have to compile ssl then compile ... > " The normal procedure
with apxs is to compile Apache ... module parts to the relevant apache directories,
... (comp.unix.solaris)