Installing Apache 2 and PHP5 from packages on 4.10-R
Miguel Mendez
flynn at energyhq.es.eu.org
Wed Dec 15 08:05:01 PST 2004
On Wed, 15 Dec 2004 08:52:15 -0700
Brett Glass <brett at 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 at 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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20041215/a9ac215a/attachment.bin
More information about the freebsd-ports
mailing list