From owner-freebsd-questions@FreeBSD.ORG Mon Apr 2 20:59:02 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5E22116A406 for ; Mon, 2 Apr 2007 20:59:02 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.freebsd.org (Postfix) with ESMTP id 1A16A13C4B0 for ; Mon, 2 Apr 2007 20:59:01 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from archangel.daleco.biz ([69.27.149.254]) by ezekiel.daleco.biz (8.13.8/8.13.1) with ESMTP id l32KwkDX061429; Mon, 2 Apr 2007 15:58:50 -0500 (CDT) (envelope-from kdk@daleco.biz) Message-ID: <46116E80.30206@daleco.biz> Date: Mon, 02 Apr 2007 15:58:40 -0500 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.2pre) Gecko/20070221 SeaMonkey/1.1 MIME-Version: 1.0 To: Martin McCormick References: <200704021951.l32JpLEI019376@dc.cis.okstate.edu> <20070402160737.25dbdddd.wmoran@potentialtech.com> In-Reply-To: <20070402160737.25dbdddd.wmoran@potentialtech.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Bill Moran , freebsd-questions@freebsd.org Subject: Re: php5 and SQL Scripts 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: Mon, 02 Apr 2007 20:59:02 -0000 Bill Moran wrote: > In response to Martin McCormick : > >> About 4 years ago, we installed php from the FreeBSD >> ports collection on a system in order to query a MS-SQL data >> base on another server. It worked fine until we upgraded to >> FreeBSD6.2 and php5. I had moved the old binary across and also pulled several >> libraries in to /usr/local/lib and the old binary seemed to be >> happy until we actually tried to use it at which time it hung >> until manually killed. >> >> After installing /usr/ports/lang/php5 and even trying >> /usr/ports/lang/php4, our new php gives the following error: >> >> Fatal error: Call to undefined function mssql_connect() > > Install /usr/ports/databases/php5-mssql > > Don't know what you're doing with all that "moving binaries around", but > make sure you didn't overwrite something. If you did, you may need to > completely reinstall PHP. Which isn't so much fun :-( Martin, did you install /usr/ports/lang/php5-extensions ? It's been quite a while (see /usr/ports/UPDATING), but a lot of functions that PHP "traditionally" has are part of the "extensions" port, so you may find yourself banging your head on a few of these sorts of issues unless you've installed that as well (for example, session support, GD support, CURL support, SOAP, XML, etc.) HTH, Kevin Kinsey -- WARNING TO ALL PERSONNEL: Firings will continue until morale improves.