Estou utilizando exatamente o que pede no trecho do manual
$ apt-get install apache2 $ apt-get install postgresql-8.4 $ apt-get install php5 libapache2-mod-php5 php5-gd php5-pgsql
conforme informado no manual a variavel de controle register_globals não existe no arquivo php.ini
sanches@sanches-Linux:/var/log/postgresql$ php -v
PHP 5.4.6-1ubuntu1.2 (cli) (built: Mar 11 2013 14:57:54)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
A aplicação abre para login e senha mas não conecta..
Meu arquivo de configuraçaõ do postgres esta assim:
Database administrative login by Unix domain socket
local all postgres peer
# TYPE DATABASE USER ADDRESS METHOD
# "local" is for Unix domain socket connections only
#local all all trust
host all all 0.0.0.0/0 md5
# IPv4 local connections:
host all all 127.0.0.1/32 md5
#host all all 0.0.0.0 md5
# IPv6 local connections:
host all all ::1/128 md5
# Allow replication connections from localhost, by a user with the
# replication privilege.
#local replication postgres peer
#host replication postgres 127.0.0.1/32 md5
100,1 98%
Autor: rogerio sanches
1Um comentário