Re: MSSQL, PHP and Linux
| From: | (Jennifer Goodie) | Date: | Wed, 01 Sep 2004 17:58:00 +0000 |
| Subject: | Re: MSSQL, PHP and Linux | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-195434@lists.php.net to get a copy of this message | ||
-------------- Original message from blackwater dev : --------------
> I need some help...I am helping a local business with a site which
> needs to connect to a mssql db, my webhost uses linux and compiled php
> with the freetds library and when I go to the info page..it does show
> Microsoft SQL Server under dbx yet I still get the errors "called to
> undefined function mssql_pconnect()"...what can I try next?
The dbx extension is compiled in, not the mssql extension. You need to either use the functions in
the dbx extension to do what you want, or if you would rather use the mssql functions you need to
compile in the mssql extension.
http://us3.php.net/manual/en/ref.dbx.php
http://us3.php.net/manual/en/ref.mssql.php