Page 1 of 1

database is not supported by PHP. anybody know the sol?

Posted: 17 Aug 2007, 10:10
by Nidhi Yadav
I have php 5.0 , sqlserver 2005,IIs5.0 when I am trying to install mantis it gives the error :" database is not supported by PHP. Check that it has been compiled into your server."
I have made following changes to config_inc.php
$g_hostname = "AITHENT231\SIMBAINT";
$g_db_username = "sa";
$g_db_password = "admin";
$g_database_name = "bugtracker";
$g_db_type = "mssql";

do php works with SqlServer?
Can any body tell what i am missing? :?:

Re: database is not supported by PHP. anybody know the sol?

Posted: 02 Sep 2007, 23:02
by davide
Yes,
it works... install freetds, compile php with freetds !

And I use ip&port instead of hostname

$g_hostname ='ip:port';


Nidhi Yadav wrote:I have php 5.0 , sqlserver 2005,IIs5.0 when I am trying to install mantis it gives the error :" database is not supported by PHP. Check that it has been compiled into your server."
I have made following changes to config_inc.php
$g_hostname = "AITHENT231\SIMBAINT";
$g_db_username = "sa";
$g_db_password = "admin";
$g_database_name = "bugtracker";
$g_db_type = "mssql";

do php works with SqlServer?
Can any body tell what i am missing? :?: