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.
Setup Error: database is not supported by PHP
Moderators: Developer, Contributor
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
to this
Same applies for any other extensions ;)
Hope this helps.
Example:
If you want to use MS Sql, change your php.ini from this
Code: Select all
;extension=php_mssql.dllCode: Select all
extension=php_mssql.dllHope this helps.
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.
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.