Re: MSSQL, PHP and Linux
| From: | Ben Ramsey | Date: | Wed, 01 Sep 2004 21:04:55 +0000 |
| Subject: | Re: MSSQL, PHP and Linux | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-195470@lists.php.net to get a copy of this message | ||
Just try --with-mssql=/usr/include instead. Is that where freetds is installed for you? I think it's in /usr/local for me, so I use --with-mssql=/usr/local.
Blackwater Dev wrote:
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.-- Regards, Ben Ramsey http://benramsey.com --------------------------------------------------- http://www.phpcommunity.org/ Open Source, Open Community Visit for more information or to join the movement. -----------------------------------------------------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:-- 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: 0x3968B5EEFrom: "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...