From owner-freebsd-questions@FreeBSD.ORG Fri May 14 12:06:23 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B83016A4D2 for ; Fri, 14 May 2004 12:06:23 -0700 (PDT) Received: from clanbuckbuck.org (c-67-160-113-101.client.comcast.net [67.160.113.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 542FD43D41 for ; Fri, 14 May 2004 12:06:22 -0700 (PDT) (envelope-from freebsd@fbsdsolutions.com) Received: from RYALLS1 ([207.46.238.143]) (AUTH: LOGIN ryallsd, TLS: TLSv1/SSLv3,128bits,RC4-MD5) by clanbuckbuck.org with esmtp; Fri, 14 May 2004 12:06:21 -0700 From: "Derrick Ryalls" To: "'Bruce Hunter'" , freebsd-questions@freebsd.org Date: Fri, 14 May 2004 12:05:49 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Thread-Index: AcQ55eQTcvLbsE1wRWWcBTUGyieE8QAABk0Q In-Reply-To: <40A51751.9070807@solisix.com> Message-Id: <20040514190622.542FD43D41@mx1.FreeBSD.org> Subject: RE: Apache 2 / PHP Installation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 May 2004 19:06:23 -0000 > > Hi all, > I installed Apache 2 from the ports collection. Does apache2 > come with php support? Probably not, but not sure. I want to > install php on the system. I'm not sure what port I need to > install?? All the pre recks.. > are for 1.* versions of Apache. What's the deal? > I recommend lang/php4 When you install it should come up with a menu allowing you to choose your options (GD support, CLI, etc). After it is done, it will tell you what to add to your httpd.conf file to get .php files working (apache restart required). To test, make a file like: And call it test.php or something, then browse to it. If you see that text, php isn't yet loaded.