Re: PHP5 static module apache 1.3.x compile issues
| From: | Seth Russell | Date: | Wed, 15 Jun 2005 16:55:43 +0000 |
| Subject: | Re: PHP5 static module apache 1.3.x compile issues | ||
| References: | 1 2 3 4 5 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-16281@lists.php.net to get a copy of this message | ||
Rasmus,
I actually found instructions on how to build apache with php as a static
module.
The instructions are by Chris Schiflett. Here is the URL
http://www.artima.com/forums/flat.jsp?forum=271&thread=80041
I tried them out, and it works! After following his instructions, I realized
that I was trying to use the wrong to be built file (I was using
libmodphp5.a and should have been doing libphp5.a)... User error
That works great, but I have been unable to get the dynamic module to work -
I'll probably post a separate question to this list on that later.
Seth
On 6/13/05, Rasmus Lerdorf <rasmus@lerdorf.com> wrote:
>
> Seth Russell wrote:
> > Thanks Rasmus.
> >
> > I am looking to improve the speed at which php executes through apache
> > (and using a static module seemed to be helpful in PHP4).
> >
> > I don't see any explaination of how to build a non-pic (position
> > independent code) dso for apache on the PHP website.
> >
> > Do I just add the option "--with-pic" to do that?
>
> Use --without-pic
>
> -Rasmus
>
>