compiling PHP
Jeff Goeke-Smith
jeff@goeke.net
Sat, 16 Sep 2000 17:17:14 -0400
For the initial question, IIRC, to compile php as an apache module, you must
have first done a compile of apache its self. In other words, it's
challenging to do a full compile and install of PHP as an apache module
without having done a compile and install of apache first. So here's a
starter question, have you done a full compile of apache already?
Second, yes, there are packages in RH6.1 (and likely RH6.0 and RH6.2) that
give you php pre-compiled in certain configs that work with the packaged
install of apache.
As for doing packages for all the possible configurations of PHP, it's is
really hard as there are n big configuration options (where n is about 15)
and therefore, having packages of all the individually configured options
would be around 2^15 different packages, somewhere around 32 thousand
possibilities. That is alot. That said, Redhat and Debian ( I just
installed it) come with some very general configs of php that will work in
most cases. I highly recommend using the included packages with your distro
rather than doing a compile of it, unless you have very specific needs.
--Jeff Goeke-Smith
> -----Original Message-----
> From: linux-user-admin@egr.msu.edu
> [mailto:linux-user-admin@egr.msu.edu]On Behalf Of Marcel Kunath
> Sent: Saturday, September 16, 2000 4:54 PM
> To: Cory Spitz
> Cc: linux-user@egr.msu.edu
> Subject: Re: compiling PHP
>
>
> Aren't there any precompiled packages for apache php mysql in
> redhat/mandrake?
> I know from the past that compiling this stuff is a pain and
> I would hope this
> is part of the distributions work to offer packages for this.
>
> > > Hi, > I'm
> trying to compile PHP. I use the configure
> script > --with-apxs=/usr/local/apache/bin/apxs and it says
> that it can't find
> > apxs
> > or that I need to install Perl, but perl is already installed to
> > /usr/bin/perl. Does anybody know what I can do from here? I'm not
> > exactly an expert.
> >
> > Thanks for the help,
> > -Cory
> > _______________________________________________
> > linux-user mailing list
> > linux-user@egr.msu.edu
> > http://www.egr.msu.edu/mailman/listinfo/linux-user
> >
>
>
> --
> Marcel Kunath
>
> *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
>
> Montie House Network Greater Lansing Linux Users Group
> http://www.montiehouse.com http://www.gllug.org
>
> *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
> _______________________________________________
> linux-user mailing list
> linux-user@egr.msu.edu
> http://www.egr.msu.edu/mailman/listinfo/linux-user