Re: MSSQL, PHP and Linux

From: Date: Wed, 01 Sep 2004 20:39:51 +0000
Subject: Re: MSSQL, PHP and Linux
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-195468@lists.php.net to get a copy of this message
I have tried recompiling with --with-mssql and --with-mssql=/usr/include/freetds It all appears to compile correctly, except the info page does not reflect the config was done with mssql at all. below is a snippet of the config switches that were used. --enable-ftp \ --enable-magic-quotes \ --enable-safe-mode \ --enable-sockets \ --enable-sysvsem \ --enable-sysvshm \ --enable-discard-path \ --enable-track-vars \ --enable-trans-sid \ --enable-yp \ --enable-wddx \ --without-oci8 \ --with-pear=/usr/share/pear \ --with-imap=shared \ --with-imap-ssl \ --with-kerberos=/usr/kerberos \ --with-ldap=shared \ --with-mysql=shared,%{_prefix} \ --with-sybase=/usr/include/freetds \ --with-mssql=/usr/include/freetds \ Any help would be appreciated. thanks, On Wed, 1 Sep 2004 08:29:55 -1200, blackwater dev <blackwaterdev@gmail.com> wrote: > We just tried again with the -mssql switch but it still doesn't seem > to be there....the -mssql isn't on the info page...I don't have a > clue... > > http://mwvre.ht-tech.net/info.php > > > > On Wed, 01 Sep 2004 15:08:41 -0400, Ben Ramsey <lists@benramsey.com> wrote: > > Like I and others have said, you need to compile PHP --with-mssql > > > > > > > > > > Blackwater Dev wrote: > > > No, I was using the mssql functions which I want to use. > > > > > > I tried the dbx functions example: > > > $link = dbx_connect('mssql', > > > $mssqldbhost,"",$mssqldbuser,$mssqldbpass); > > > > > > but go the error that the mssql module isn't loaded. > > > > > > On Wed, 1 Sep 2004 14:06:55 -0400, John Holmes <holmes072000@charter.net> > > > wrote: > > > > > >>From: "blackwater dev" <blackwaterdev@gmail.com> > > >> > > >>>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? > > >> > > >>Are you using the dbx functions and not mssql_connect/pconnect()?? > > >> > > >>http://www.php.net/manual/en/ref.dbx.php > > >> > > >>---John Holmes... > > >> > > > > -- > > Regards, > > Ben Ramsey > > http://benramsey.com > > > > --------------------------------------------------- > > http://www.phpcommunity.org/ > > Open Source, Open Community > > Visit for more information or to join the movement. > > --------------------------------------------------- > > > > PGP Key ID: 0x3968B5EE > > >

« previous php.general (#195468) next »