DBI::Pg mutli-install problem

From: Perldiscuss - Perl Newsgroups And Mailing Lists (pk_at_forsakenreality.net)
Date: 06/29/04


Date: 29 Jun 2004 00:20:53 -0000
To: dbi-users@perl.org

Hello.
I have a perl module that uses DBI and works when executed from shell.
When its run from Apache I get gibberish error on connect.

I have narrowed down that somehow my debian system had two installations
of postgresql - one compiled and one via apt-get. The compiled psql in
/usr/local/pgsql/bin/ worked, while psql in /usr/psql/bin gave the same
sort of gibberish errors.

dpkg -l claims I have postgresql and postgresql-cli installed, however
when removing them with apt, it claims neither are installed.

I am completely stuck and I don't know how DBI/DBD::Pg connects to
postgres socket -- running the same module as the apache user works too.

Pleaes help!



Relevant Pages

  • Latest Apache13 with PHP5 crashes when PostgreSQL support is added
    ... time with php5 and extensions to support PostgreSQL 8.0.9. ... I have updated Apache to ... I am compiling php5-extensions with only pgsql support. ...
    (freebsd-questions)
  • Re: Debian Etch LAMP - Continued :D
    ... start by first breaking out the acronym: ... P - PostgreSQL ... The way I learnt it LAMP stands for Linux, Apache, MySQL, PHP/Perl/Python. ...
    (Debian-User)
  • Re: [PHP] menu andfolder question
    ... index.htm is the default file it looks for based on apache config. ... Postgresql & php tutorials ... PostgreSQL 8.2.4 / MS SQL server 2005 ...
    (php.general)
  • Re: Debian Etch LAMP - Continued :D
    ... P - PostgreSQL ... The way I learnt it LAMP stands for Linux, Apache, MySQL, PHP/Perl/Python. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Installation Problem
    ... Could you plesae help to install packages like apache, postgresql, php4 ... sudo apt-get install apache postgresql php4 libapache-mod-perl ...
    (Debian-User)