WampServer 2.0g & PostgreSQL problem, please help!
Posted by: Ryszard (---.chello.pl)
Date: July 05, 2009 05:20PM

HI,

i have a problem with connection with postgreSQL db. I've uncommeneted php_pdo_pgsql.dll and php_pgsql.dll extensions. I've replaced a few times these extensions with some older versions but problem still ocures.

I'm using cakePHP with postgres for the first time. Sample log alert from php error log:
[05-Jul-2009 16:57:13] PHP Fatal error: Call to undefined function pg_connect() in C:\wamp\cake\cake\libs\model\datasources\dbo\dbo_postgres.php on line 110

I've spent a few hours trying to fix te problem, but nothing helped. Maybe someone will? Thx in advance.



Edited 2 time(s). Last edit at 07/05/2009 06:26PM by Ryszard.

Options: ReplyQuote
Re: WampServer 2.0g & PostgreSQL problem, please help!
Posted by: c2dan (---.15-1.cable.virginmedia.com)
Date: July 05, 2009 11:15PM

If you have manually edited the php.ini you need to restart the Apache service in order for the changes to be loaded.

Options: ReplyQuote
Re: WampServer 2.0g & PostgreSQL problem, please help!
Posted by: Ryszard (193.201.167.---)
Date: July 06, 2009 09:18AM

I did, every time i made some change in php.ini or after any .dll replacement.

Options: ReplyQuote
Re: WampServer 2.0g & PostgreSQL problem, please help!
Posted by: toumimi (---.237.115-78.rev.gaoland.net)
Date: July 06, 2009 05:07PM

Hi,

You may find additionnal informations into Apache error log.
Then, you can have a look at this tuto about error loading extension

Florian

WampServer Patch (Screenshots)
Topic EN : www.wampserver.com
Topic FR : www.wampserver.com

Options: ReplyQuote


Sorry, only registered users may post in this forum.