[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

php connect to mssql



hello

I have a debian 8.6 server:

root@xy:/# uname -a
Linux xy 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u2 (2017-06-26) x86_64 GNU/Linux

With php (5.6.30) I would like to connect to a mssql database that is on my local network but i get this error message in my apache error log:
PHP Fatal error:  Call to undefined function mssql_connect()...

In phpinfo I didn't find sqlsrv so I thought i just need a php mssql package. I found "php5-sybase". I tried to install it but apt-get gives me this error message:
The following packages have unmet dependencies:
 php5-sybase : Depends: libsybdb5 (>= 0.63) but it is not installable
E: Unable to correct problems, you have held broken packages.

I tried to google it but I cannot find any usable answer. Please give me some hint on what could I do.

thanks,
Ferenc

Reply to: