PDA

View Full Version : [ubuntu] Undefined function mssql_connect



jcortes
September 22nd, 2009, 06:15 AM
I have a script that connects to a MS SQL server and I keep getting

Fatal error: Call to undefined function mssql_connect() in /var/www/timeclock/importers/studentimporter.php on line 13

Im running apache2, php5, etc.

Is there a package i have to install to enable MS SQL support in linux? I know in windows all i had to do was uncomment the php_mssql.dll line.

jcortes
September 25th, 2009, 04:53 AM
Answer: Installing the package php5-sybase

Thanks Me! :)