Thread: Cannot to connect.

Cannot to connect.

From
Dmitry
Date:
Hi there!

I just installed PostgresSQL 8 beta1 for Windows ( I have WinXP ).
I launched pgAdmin III and created one test DB. So, it was created.
Then, I launch my Zend Studio and tryed to connect to this new test DB
using next code to check connection:

<?php
$psConn = pg_connect( "dbname=jimmyDB" );
echo("$psConn");
?>

It doesn't work.

In the php.ini I uncomment line

extension=php_pgsql.dll

I have php 4.3.7

and I restart Apache, but it still does not work.

I don't understand what I need to do else.
Could you help me?




--
Sincerely,
Dmitry Shirokovskiy.
Web-developer of 1ADW Co.
www.1adw.com
RUSSIA