On Jan 16, 2008 4:09 AM, williamn <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I use pg_connect in my config\database.php, but bake.php said:
>
> Fatal error: Call to undefined function pg_connect() in D:\xampp\htdocs
> \cakeblog\cake\libs\model\dbo\dbo_postgres.php on line 90
>

Are you sure you have Postgres support for PHP? What does phpinfo()
show you? Check that your php.ini has the following line uncommented
(no semi-colon in front):

extension=php_pgsql.dll

Assuming Postgres is properly installed, i *think* that's all you need
for a Windows box.

b

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to