Page 1 of 1

Setup Error: database is not supported by PHP

Posted: 10 Apr 2006, 11:55
by mobileindy
I am trying to setup Mantis on a Windows Apache2 Server with MySQL 5.0.11 and receive the following error during setup.

database is not supported by PHP. Check that it has been compiled into your server.

I have searched the web for this error and have tried the recommended setup changes but with no luck. Any ideas on this issue is much appreciated.

Thanks.

Posted: 10 Apr 2006, 12:01
by bmccool
Have you ensured that the extension is enabled in your php.ini?

Example:

If you want to use MS Sql, change your php.ini from this

Code: Select all

;extension=php_mssql.dll
to this

Code: Select all

extension=php_mssql.dll
Same applies for any other extensions ;)

Hope this helps.

Posted: 10 Apr 2006, 13:18
by Narcissus
Also check that you have the right MySQL library enabled.

I believe the PHP file php_mysql.dll is for MySQL 4, while php_mysqli.dll (which is normally disabled) is for MySQL 5.

I could be wrong, though, as that's just off the top of my head.

If you aren't restricted in what you can use for server software, I can highly recommend XAMPP: it's an easy to use installer for Apache, PHP and MySQL and with just a quick few clicks it's all set up and running...

Lincoln.