Setup Error: database is not supported by PHP

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
mobileindy
Posts: 1
Joined: 10 Apr 2006, 11:12

Setup Error: database is not supported by PHP

Post 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.
bmccool
Posts: 14
Joined: 10 Apr 2006, 10:48

Post 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.
Narcissus
Developer
Posts: 338
Joined: 17 Feb 2005, 09:45

Post 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.
Post Reply