Page 1 of 1

TL Installation issue with postgresql database

Posted: Tue Jun 09, 2009 4:39 pm
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.

Posted: Tue Jun 09, 2009 4:54 pm
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.

Posted: Fri Jun 19, 2009 6:42 am
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).