Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Dec 2004 17:04:39 +0100
From:      Miguel Mendez <flynn@energyhq.es.eu.org>
To:        Brett Glass <brett@lariat.org>
Cc:        ports@freebsd.org
Subject:   Re: Installing Apache 2 and PHP5 from packages on 4.10-R
Message-ID:  <20041215170439.09aeb4a7.flynn@energyhq.es.eu.org>
In-Reply-To: <6.2.0.14.2.20041215084409.065ce810@localhost>
References:  <6.2.0.14.2.20041215084409.065ce810@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Wed__15_Dec_2004_17_04_39_+0100_GW=+9c3sCpeEPVnd
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

On Wed, 15 Dec 2004 08:52:15 -0700
Brett Glass <brett@lariat.org> wrote:

Hi,

> I've run into an interesting problem while attempting to set up a
> simple Web server, with PHP5, on 4.10-RELEASE. On a fresh install of
> the OS, I went to the menu of binary packages and selected Apache 2;
> it installed without incident. Then, I went back in and selected PHP5.
> The installation process tried to bring in -- of all things -- Apache
> 1.3! It then died with an error (not surprisingly; I already had a
> newer and better version of Apache installed.)

The port seems to default to the apache 1.3 target. A possible solution
could be having two ports, like the mod_perl[2] port does. I'm sure the
current maintainer will be glad to review your patches :-)

> Is there a simple workaround for this glitch? I could see if the
> results are different if I build both Apache 2 and PHP from ports, but
> this will take quite a long time (due to some huge dependencies) and
> could very well fail the same way.

You only need to build mod_php5 from ports with the APACHE2 option
enabled. It won't take long to build, even on slow machines. You can
also build the packages on another (faster) 4.10 box and deploy them on
the server.

But Brett, really, you already know all this, you've been using FreeBSD
for years.

Cheers,
-- 
Miguel Mendez <flynn@energyhq.es.eu.org> | lea     gfx_lib(pc),a1
http://www.energyhq.es.eu.org            | moveq   #0,d0
PGP Key: 0xDC8514F1                      | move.l  4.w,a6
Note: All HTML mail goes to /dev/null    | jsr     -552(a6)


--Signature=_Wed__15_Dec_2004_17_04_39_+0100_GW=+9c3sCpeEPVnd
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBwGCZnLctrNyFFPERArpDAJwNH0IH423UQM9rtC0jvg9f1ynP+QCgrxiz
Hsqiry8Nm2HZow2kiuCggdw=
=Ud7W
-----END PGP SIGNATURE-----

--Signature=_Wed__15_Dec_2004_17_04_39_+0100_GW=+9c3sCpeEPVnd--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041215170439.09aeb4a7.flynn>