After the installation the address http://localhost/phppgadmin/ have one 404 
error.  Seems that is a bug:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=360105

I've create one symlink:

$ sudo ln -s /etc/phppgadmin/apache.conf 010-phppgadmin

(but now I see the phppgadmin symlink in /etc/apache2/conf.d)

Now http://localhost/phppgadmin/ have this error page: «Your PHP installation 
does not support PostgreSQL. You need to recompile PHP using the --with-pgsql 
configure option.».  The 'sudo aptitude install phpgpadmin' installs 
php4-pgsql phppgadmin postgresql-doc postgresql-doc-7.4 wwwconfig-common.  
Where is the problem?  Really Sid PHP .deb doesn't works with PostgreSQL or I 
have some configuration problem?  php.ini:

---------------------
[PostgresSQL]
; Allow or prevent persistent links.
pgsql.allow_persistent = On

; Detect broken persistent links always with pg_pconnect(). Need a little 
overhead.
pgsql.auto_reset_persistent = Off

; Maximum number of persistent links.  -1 means no limit.
pgsql.max_persistent = -1

; Maximum number of links (persistent+non persistent).  -1 means no limit.
pgsql.max_links = -1

; Ignore PostgreSQL backends Notice message or not.
pgsql.ignore_notice = 0

; Log PostgreSQL backends Noitce message or not.
; Unless pgsql.ignore_notice=0, module cannot log notice message.
pgsql.log_notice = 0
---------------------

I've restarted apache2.

Thanks!

-- 
Benjamí
http://blog.bitassa.cat



.

Reply via email to