Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Apr 2007 16:07:37 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        Martin McCormick <martin@dc.cis.okstate.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: php5 and SQL Scripts
Message-ID:  <20070402160737.25dbdddd.wmoran@potentialtech.com>
In-Reply-To: <200704021951.l32JpLEI019376@dc.cis.okstate.edu>
References:  <200704021951.l32JpLEI019376@dc.cis.okstate.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
In response to Martin McCormick <martin@dc.cis.okstate.edu>:

> 	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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070402160737.25dbdddd.wmoran>