From owner-freebsd-questions@FreeBSD.ORG Wed Sep 29 18:38:51 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73484106566C for ; Wed, 29 Sep 2010 18:38:51 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from dc.cis.okstate.edu (dc.cis.okstate.edu [139.78.103.93]) by mx1.freebsd.org (Postfix) with ESMTP id 43A658FC08 for ; Wed, 29 Sep 2010 18:38:51 +0000 (UTC) Received: from dc.cis.okstate.edu (localhost.cis.okstate.edu [127.0.0.1]) by dc.cis.okstate.edu (8.14.4/8.14.4) with ESMTP id o8TIbfR2067340 for ; Wed, 29 Sep 2010 13:37:55 -0500 (CDT) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <201009291837.o8TIbfR2067340@dc.cis.okstate.edu> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <67338.1285785461.1@dc.cis.okstate.edu> Date: Wed, 29 Sep 2010 13:37:41 -0500 From: Martin McCormick Subject: Re: Not Sure Which Package has mssql_connect. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Sep 2010 18:38:51 -0000 Greg Larkin writes: > You referred to C code at the top of your message, That was actually incidental. I was thinking about what had happened when I transplanted some home-grown C code in to 8.1 and had to clean up some of my lazy habits to make it work again. So far, nothing I haven't been able to handle. > but are you actually > looking for a PHP extension that contains the mssql_connection function > so some PHP code runs correctly? Yes. > I also have a question whether you're > looking for a PHP extension that connections to a MS SQL server or one > that connects to a MySQL server. I'm guessing you're trying to connect > to MS SQL. In spite of my rather confused question, that is exactly what I am doing. We talk to a remote mssql server and pull off new data from a database. > > If so, please install http://www.freshports.org/databases/php5-mssql/, > and you should be all set. You shouldn't need to install > http://www.freshports.org/databases/php5-mysql/ unless you're trying to > connect to a MySQL server, too. The first port is what I needed. Many thanks.