Results 1 to 4 of 4

Thread: PHP, PostgreSQL, and SUSE

  1. #1
    Join Date
    Apr 2009
    Posts
    27

    Question PHP, PostgreSQL, and SUSE

    I was wondering how to get PHP, PostgreSQL, and SUSE to work together. I installed PostgreSQL Server with no problem and PHP is installed, but when I tried to setup phpPgAdmin, I get an error about PHP not supporting PostgreSQL and that I need to compile PHP.

    I am kind of surprised that SUSE 11.1 does not support this without doing this so I am wondering if I am doing something wrong or if I really do need to compile support for PostgreSQL into PHP.

    Anyone know how I can phpPgAdmin and PHP working with Postgre?

  2. #2
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,469
    Blog Entries
    14

    Default Re: PHP, PostgreSQL, and SUSE

    I think you need to install php5-pgsql, at least that one says it has the extensions for dealing with PostgreSql
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  3. #3
    Join Date
    Apr 2009
    Posts
    27

    Question Re: PHP, PostgreSQL, and SUSE

    Strangely, it is already installed and even stranger is that phpPgAdmin seems to work now though not completely, I still can't get access to the database or its tables. I can login, but when I try to access the sample postgres database, I get a login failure message.


  4. #4
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: PHP, PostgreSQL, and SUSE

    You have to do some configuration of postgres with a text editor first. The file is pg_hba.conf. Here's the page describing it.

    PostgreSQL: Documentation: Manuals: PostgreSQL 8.3: The pg_hba.conf file

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •