Re: Connect to a MsSQL server from PHP on Unix?

From: Date: Thu, 22 Jun 2000 20:41:46 +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-2706@lists.php.net to get a copy of this message
Station1 wrote: > 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 First you have to configure PHP with mssql support to avoid the above error message. There is a describtion in http://php.net/FAQ.php#4.1 and http://php.net/FAQ.php#4.2. -Egon -- SIX Offene Systeme GmbH · Stuttgart - Berlin - New York Sielminger Straße 63 · D-70771 Leinfelden-Echterdingen Fon +49 711 9909164 · Fax +49 711 9909199 http://www.six.de PHP-Stand auf Europas grösster Linux-Messe: 'LinuxTag 2000' weitere Infos @ http://www.dynamic-webpages.de/

« previous php.general (#2706) next »