Re: PHP5 static module apache 1.3.x compile issues
| From: | Rasmus Lerdorf | Date: | Wed, 15 Jun 2005 17:00:45 +0000 |
| Subject: | Re: PHP5 static module apache 1.3.x compile issues | ||
| References: | 1 2 3 4 5 6 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-16282@lists.php.net to get a copy of this message | ||
Ah, I was thinking Apache2 for some reason despite you having said 1.3
right in the subject. Still, I don't see a reason to build a static
module these days.
-Rasmus
Seth Russell wrote:
> 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
>
> Jfúƒ
> ¼¯ŒìÒÑBT°ohttp://www.artima.com/forums/flat.jsp?forum=271&thread=80041
>
> <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
> <mailto: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
>
>