| Author |
MSSQL - Apache - PHP - Slackware
|
|
|
| Hello
I looking for drivers that allow to connect to MS SQL database form Apache
1.3.31 serwer with PHP 4.3.9 runing on Linux Slackware 10
If you know some solution for that I will be gratefull for any idea
Karol
| |
| J.O. Aho 2005-11-21, 6:59 pm |
| ykk wrote:
> Hello
>
> I looking for drivers that allow to connect to MS SQL database form Apache
> 1.3.31 serwer with PHP 4.3.9 runing on Linux Slackware 10
> If you know some solution for that I will be gratefull for any idea
Easiest is to use ODBC, see to compile that into your php.
//Aho
| |
|
|
Uzytkownik "J.O. Aho" <user@example.net> napisal w wiadomosci
news:3ue7l7F10nce9U1@individual.net...
> ykk wrote:
>
> Easiest is to use ODBC, see to compile that into your php.
Thnks - but where can I find ODBC driver for MSSQL ???
Karo
| |
| J.O. Aho 2005-11-23, 3:57 am |
| ykk wrote:
> Uzytkownik "J.O. Aho" <user@example.net> napisal w wiadomosci
> news:3ue7l7F10nce9U1@individual.net...
>
>
> Thnks - but where can I find ODBC driver for MSSQL ???
Take a look at www.freetds.org
//Aho
| |
|
|
|
| Hello
I am trying connect to MS SQL Server 2000
actualy I have instaled Freetds with option ./configure --enable-msdblib
and re-compile PHP ./configure --with-sybase=/usr/local/freetds/
but in that case I have that errors:
Warning: mssql_select_db(): 0 is not a Sybase link index in
/www/as400/sun.php on line 11
Warning: mssql_query(): -1 is not a Sybase link index in
/www/as400/sun.php on line 12
but mssql_connect do not show any arrors ...
please send me any suggestion what can be wrong in my case ....
Karol
| |
| J.O. Aho 2005-12-09, 8:08 am |
| ykk wrote:
> Hello
>
> I am trying connect to MS SQL Server 2000
>
> actualy I have instaled Freetds with option ./configure --enable-msdblib
> and re-compile PHP ./configure --with-sybase=/usr/local/freetds/
>
> but in that case I have that errors:
> Warning: mssql_select_db(): 0 is not a Sybase link index in
> /www/as400/sun.php on line 11
> Warning: mssql_query(): -1 is not a Sybase link index in
> /www/as400/sun.php on line 12
>
>
> but mssql_connect do not show any arrors ...
> please send me any suggestion what can be wrong in my case ....
Are you sure you should use --with-sybase? I'm not that much into this, so I'm
not sure, but I don't think sybase is compatible with mssql.
//Aho
| |
|
|
>
> Are you sure you should use --with-sybase? I'm not that much into this, so
> I'm
> not sure, but I don't think sybase is compatible with mssql.
>
I am not sure - but I find somewhere in Internet that I have to use it
if you have any otehr idea please tell me it ...
Karol
| |
| J.O. Aho 2005-12-09, 7:10 pm |
| ykk wrote:
> I am not sure - but I find somewhere in Internet that I have to use it
> if you have any otehr idea please tell me it ...
I'm sorry, but I would think something like --with-odbc would be more right.
If you want to list all the options, then do a ./configure --help
//Aho
|
|
|
|