From owner-freebsd-questions@FreeBSD.ORG Mon Apr 2 20:07:41 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 1676216A401 for ; Mon, 2 Apr 2007 20:07:41 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id DE6E613C4BB for ; Mon, 2 Apr 2007 20:07:38 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from vanquish.pgh.priv.collaborativefusion.com (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTP id 3F727EBC76; Mon, 2 Apr 2007 16:07:38 -0400 (EDT) Date: Mon, 2 Apr 2007 16:07:37 -0400 From: Bill Moran To: Martin McCormick Message-Id: <20070402160737.25dbdddd.wmoran@potentialtech.com> In-Reply-To: <200704021951.l32JpLEI019376@dc.cis.okstate.edu> References: <200704021951.l32JpLEI019376@dc.cis.okstate.edu> X-Mailer: Sylpheed 2.3.1 (GTK+ 2.10.11; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: 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:07:41 -0000 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. -- Bill Moran http://www.potentialtech.com