From owner-freebsd-ports@FreeBSD.ORG Wed Jul 20 20:04:25 2005 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7892816A426 for ; Wed, 20 Jul 2005 20:04:25 +0000 (GMT) (envelope-from webbj2@Scranton.edu) Received: from serval.uofs.edu (serval.uofs.edu [134.198.122.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3D3943D4C for ; Wed, 20 Jul 2005 20:04:24 +0000 (GMT) (envelope-from webbj2@Scranton.edu) Received: from CONVERSION-DAEMON.SERVAL.Scranton.EDU by SERVAL.Scranton.EDU (PMDF V6.0-24 #39402) id <01LQUR9QZ0R400ESXX@SERVAL.Scranton.EDU> for ports@FreeBSD.org; Wed, 20 Jul 2005 16:04:20 -0400 (EDT) Received: from jaguarundi.scranton.edu ([134.198.122.15]) by SERVAL.Scranton.EDU (PMDF V6.0-24 #39402) with ESMTP id <01LQUR9QR10G00DROX@SERVAL.Scranton.EDU> for ports@FreeBSD.org; Wed, 20 Jul 2005 16:04:20 -0400 (EDT) Received: from asteroid.scranton.edu (asteroid.scranton.edu [134.198.122.3]) by jaguarundi.scranton.edu (8.13.4/8.13.4) with ESMTP id j6KK4Jnk027285 for ; Wed, 20 Jul 2005 16:04:20 -0400 (envelope-from webbj2@scranton.edu) Received: from [134.198.168.103] by asteroid.scranton.edu (mshttpd); Wed, 20 Jul 2005 16:04:19 -0400 Date: Wed, 20 Jul 2005 16:04:19 -0400 From: "Jeffrey C. Webb" To: ports@FreeBSD.org Message-id: MIME-version: 1.0 X-Mailer: iPlanet Messenger Express 5.2 HotFix 1.17 (built Jun 23 2003) Content-type: text/plain; charset=us-ascii Content-language: en Content-transfer-encoding: 7bit Content-disposition: inline X-Accept-Language: en Priority: normal Cc: Subject: php / pg question X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 20:04:25 -0000 After reading around the net for 2 days I finally found your entry in the Porters Handbook that states "ask us questions if you have any trouble! Do not just beat your head against a wall!". OK, so it is too late for the beating my head part, but here goes. Yes, I am new to FreeBSD. I have installed apache 2.0, php5.0 and PortgreSQL 8.0 using the following ports: postgresql80-server apache20 php5 I can run php script via the web, so I think that php and apache are ok. Problem is, that I can not figure out how to get php configured to use postgresql. PHP does not know where any of the pg files are and either do I :o) ie. I put a reference to a php pg command in a script and php has no idea what it is for. Am I supposed to run lang/php5-extensions? Do I need to install databases/php5-pgsql? Do I have to do it over? Any particular order? Where can I find clear information about what is required for what when using ports? I am having a hard time finding relevant documentation. Thanks for the help, my head is getting sore.... Jeff Webb University of Scranton webbj2@uofs.edu