TL Installation issue with postgresql database

1.8 related questions and discussions.
Please upgrade to LATEST 1.9.x.
No more fixes for 1.8.

Moderators: Amaradana, TurboPT, TL Developers

Locked
aostad
Member of TestLink Community
Posts: 183
Joined: Wed Apr 01, 2009 8:32 pm

TL Installation issue with postgresql database

Post by aostad »

I installed TL and mysql without any problem. Then I installed postgresql database and tried to install a fresh copy of TL but I couldn't make it work.

I get following message in installation page of TL:
Checking MySQL Database OK
Checking Postgres Database Failed! Postgres Database cannot be used.

I continue with installation so I got following error:
"Checking PHP DB extensions Warning!: Your PHP installation don't have the postgres extension pgsql- without it is IMPOSSIBLE to use Testlink.Failed! "

I double checked to make sure the postgres extension is installed. All extensions are installed in "C:\Program Files\PHP\ext". I even added the path to PATH environment variable to make sure it can be accessed, however, TL still can not recognize postgres.

Any help would be much appreciated.
aostad
Member of TestLink Community
Posts: 183
Joined: Wed Apr 01, 2009 8:32 pm

Post by aostad »

BTW, following configurations is in php.ini and uncommented:
; Directory in which the loadable extensions (modules) reside.
extension_dir ="C:\Program Files\PHP\ext"

With above configuration TL can find mysql but not postgresql.
havlatm
Member of TestLink Community
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech

Post by havlatm »

Installer checks php extension 'pgsql'. See function checkPhpExtensions(&$errCounter) in configCheck.php. You can use phpinfo function to get your configuration.
I guess you have not enabled the extension in cofiguration (path is not enough).
Locked