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.

        --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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> wrote:


From: "blackwater dev" <[EMAIL PROTECTED]>

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



-- Regards, Ben Ramsey http://benramsey.com

---------------------------------------------------
http://www.phpcommunity.org/
Open Source, Open Community
Visit for more information or to join the movement.
---------------------------------------------------

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to