Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Mar 2006 18:19:06 +0200
From:      Daniel Gerzo <danger@rulez.sk>
To:        "Darryl Hoar" <darryl@osborne-ind.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Installing PHP
Message-ID:  <12110675875.20060330181906@rulez.sk>
In-Reply-To: <002901c65413$92c9fa60$0701a8c0@darryl>
References:  <002901c65413$92c9fa60$0701a8c0@darryl>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Darryl,

Thursday, March 30, 2006, 6:04:05 PM, you has on mind:

> greetings,
> I have a freebsd 6.0-release box.  I need to install php to use with
> squirrelmail.   When I go to /usr/ports/www and look for php4, I
> see a lot of sub directories with names that aren't clear as to which
> one installs php4.

> So, anybody care to clarify this for me ?

you most probably want to read a chapter in our Handbook located at
http://www.freebsd.org/handbook. That documentation is a great thing
:)

also, for your information - the php4 core port persists in lang/php4
directory.

> Also, I need to configure php with the following options:
> --enable-track-vars
> --enable-force-cgi-redirect 
> --with-gettext
> --with-mysql

> which file should I put those in before make, make install ?

just type make config, see what options are configurable. if you need
to configure any further things, you will have to edit Makefile and
add these options to CONFIGURE_ARGS.

For a side note, if you need php4 extensions, go for
lang/php4-extensions port and type make config a then choose
extensions you really need, do not use CONFIGURE_ARGS for this.

> thanks,
> Darryl

-- 
Best Regards,
 Daniel Gerzo




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