View Issue Details

IDProjectCategoryView StatusLast Update
0015437mantisbtdb postgresqlpublic2014-05-16 15:02
Reporterfanta Assigned Todregad  
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionno change required 
Platformlinux OSredhat OS Version6.2
Product Version1.2.12 
Summary0015437: database is not supported by PHP. Check that it has been compiled into your server.
Description

I open http://ip/mantis/admin/install.php but "Checking PHP support for database type " teld me bad database is not supported by PHP. Check that it has been compiled into your server.

Steps To Reproduce

I have install php and postgresql

php configure as follow:

./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs --with-libxml-dir=/usr/local/libxml2/ --with-gd=/usr/local/gd2/ --with-jpeg-dir=/usr/local/jpeg6/ --with-png=/usr/local/libpng/lib --with-zlib-dir=/usr/local/zlib/lib/ --with-freetype-dir=/usr/local/freetype --with-curl=/usr/local/curl/ --with-pgsql

Additional Information

apache was configure correct

TagsNo tags attached.
Attached Files
未命名.jpg (44,549 bytes)   
未命名.jpg (44,549 bytes)   

Activities

dregad

dregad

2013-01-29 03:29

developer   ~0034941

fanta,

This is not a bug or feature request for MantisBT (you are asking for help on how to configure the system). I am therefore resolving this issue as "no change required".

This message is displayed because function pg_connect() does not exist. This is purely a PHP configuration issue, and has nothing to do with MantisBT.

Check output of phpinfo() to ensure that PostgreSQL module is indeed active on your server. If not, make necessary system corrections and try again.

Please use the forums, the mantisbt-help mailing list or IRC to get support on customizing and using MantisBT (refer to http://www.mantisbt.org/support.php for links and further details).

fanta

fanta

2013-01-29 03:35

reporter   ~0034942

I have look my phpinfo as follow:

PostgreSQL(libpq) Version 9.0.2
PostgreSQL(libpq) PostgreSQL 9.0.2 on x86_64-unknown-linux-gnu, compiled by GCC gcc (GCC) 4.4.6 20110731 (Red Hat 4.4.6-3), 64-bit
Multibyte character support enabled
SSL support disabled
Active Persistent Links 0
Active Links 0

Directive Local Value Master Value
pgsql.allow_persistent On On
pgsql.auto_reset_persistent Off Off
pgsql.ignore_notice Off Off
pgsql.log_notice Off Off
pgsql.max_links Unlimited Unlimited
pgsql.max_persistent Unlimited Unlimited

thank you very much!

grangeway

grangeway

2014-05-16 15:02

reporter   ~0040520

MantisBT currently supports Mysql and has support for other database engines.

The support for other databases is known to be problematic.

Having implemented the current database layer into Mantis 10 years ago, I'm currently working on replacing the current layer.

If you are interested in using Mantis with non-mysql databases - for example, Oracle, PGSQL or MSSQL, and would be willing to help out testing the new database layer, please drop me an email at paul@mantisforge.org

In the meantime, I'd advise running Mantis with Mysql Only to avoid issues.

Thanks
Paul