Do I need to recompile Apache 2 with apxs for PayPal?

Frappy John frappyjohn at gmail.com
Mon Aug 1 18:35:37 UTC 2005


Thanks for the response, Will. You confirmed my suspicions. You saved
me a lot of work.

Now, to try to get PaypPal to change their documentation (which
supposedly was Apache 2.0 specific!).

--John

On 8/1/05, Will McDonald <wmcdonald at gmail.com> wrote:
> On 30/07/05, Frappy John <frappyjohn at gmail.com> wrote:
> > I'm trying to install and configure PayPal Website Payments Pro using
> > the PayPal PHP SDK.
> >
> > The first step in the SDK Quickstart instructions is:
> > Enable Apache modules and APXS (Apache Extension Tool)
> > In your Apache root directory, run:
> > ./configure ?enable-mod=so --with-apxs /usr/local/apache/bin/apxs (sic)
> >
> > I think of the  ./configure directive as a precursor to compiling with
> > "make," yet there is no mention made of running "make".
> >
> > I'm running RHEL 4.1 with Apache 2 precompiled. I can see that modules
> > are enabled, but I'm guessing it wasn't compiled with apxs since I
> > just installed apxs 10 minutes ago. (FWIW, it's part of the
> > httpd-devel package.)
> >
> > But, then, when I search the Apache site, I see no mention of a
> > "--with-apxs" directive for Apache 2 (only for Apache 1.3). So I'm
> > thinking the instructions may be a little off. Is there such a
> > directive for Apache 2?
> 
> Have a read of http://httpd.apache.org/docs/2.0/dso.html.
> 
> Your Apache installation, as you point out, already has mod_so
> statically compiled in. There's no need to explicitly enable apxs.
> apxs is just used to compile Apache modules, such as the Pay Pal one
> you're trying to install.
> 
> > So I'm wondering if this step is really necessary. I hate to futz with
> a perfectly fine Red Hat installation if it isn't.
> 
> I don't think you'll need to change anything, just use apxs to
> complile the Apache module.
> 
> Will.
>




More information about the redhat-list mailing list