Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Mar 2012 00:32:40 +0000
From:      Graeme Dargie <arab@tangerine-army.co.uk>
To:        "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org>
Subject:   lighttpd + php + external mssql server
Message-ID:  <4C0F7421AA759346AF17299922AD57EB04DE85@Mercury.universe.galaxy.lcl>

next in thread | raw e-mail | index | archive | help
I am just looking for some advice or hints if anyone has a clue how to make=
 a FreeBSD server running lighttpd + php5 connect to an instance of MS SQL =
2008 R2.

I have already installed php-extensions for mssql but when I try and run a =
connection from the FreeBSD server it gives a http 500
The error log has this
2012-03-02 18:20:09: (mod_fastcgi.c.2699) FastCGI-stderr: PHP Fatal error: =
 Call to undefined function mssql_connect() in /usr/local/www/data/

Php -m shows mssql as installed.

Regards

Graeme Dargie



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