Debian Sarge 3.1
Apache2
PostgreSQL 7.3
PHP4
and the modules
lipapache2-mod-php
php4-pgsql
everything is up and running fine until i get to the part that moodle needs to connect with the database and asks for the DB details. I've created the database (moodledb17) and given rights to a user (moodleuser) to write to it. This is what I put in the fields
Type: PostGreSQL
Host: localhost (i'm sure about this one because in the config file of a previous version of moodle the name of the host was localhost)
Database: moodledb17
User: moodleuser
Pass: ********
Tables Prefix: mdl_
but I keep getting the message "We could not connect to the database you specified. Please check your database settings."
I'm sure that I got php4 working with postgresql because I added myself "extension=pgsql.so" in php.ini and reloaded the DB server. What else could it be ?
