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

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
Nidhi Yadav
Posts: 1
Joined: 17 Aug 2007, 09:55

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

Post 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? :?:
Software Engineeer
Aithent Technology Pvt Ltd -a cmmlevel5 company
davide
Posts: 5
Joined: 14 Jun 2007, 09:43

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

Post 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? :?:
Post Reply