Re: Connect to a MsSQL server from PHP on Unix?
| From: | Zak McGregor | Date: | Thu, 22 Jun 2000 21:04:09 +0000 |
| Subject: | Re: Connect to a MsSQL server from PHP on Unix? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-2704@lists.php.net to get a copy of this message | ||
On Thu, 22 Jun 2000, Station1 wrote:
> Hello,
>
> I have a Linux server, running redhat with PHP v 3.0.9 and am desperately trying to connect
> to a MsSQL DB on an NT Server. I've been told that there might not be a way to do it from
> Unix, but I'm sure there is. Can you please instruct me on how to do so? I have already tried
> mssql_pconnect("server:port", "user", "pw"); however I was returned
> the error msg:
>
> Fatal error: Call to unsupported or undefined function mssql_pconnect() in
> /home/eyicom/html/eyicom2/html/testmsSQL.php3 on line 10
I think (*winks* @ Richard) you'll find you haven't compiled MySQL
functions into your PHP... Recompile with the required MySQL options.
Ciao
====================================================================
Zak McGregor
====================================================================