Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Apr 2007 15:58:40 -0500
From:      Kevin Kinsey <kdk@daleco.biz>
To:        Martin McCormick <martin@dc.cis.okstate.edu>
Cc:        Bill Moran <wmoran@potentialtech.com>, freebsd-questions@freebsd.org
Subject:   Re: php5 and SQL Scripts
Message-ID:  <46116E80.30206@daleco.biz>
In-Reply-To: <20070402160737.25dbdddd.wmoran@potentialtech.com>
References:  <200704021951.l32JpLEI019376@dc.cis.okstate.edu> <20070402160737.25dbdddd.wmoran@potentialtech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Bill Moran wrote:
> 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.

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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46116E80.30206>