The query was:

$query = 'SELECT * FROM databasetablename';

So, database access seems to be the problem. Using the superuser
account 'postgres', a user 'httpd' was created and all privileges were
granted to the target database using the postgresql 'grant' command.
However the user 'httpd' is not the owner of the database so perhaps
that is the problem, although if this user could not access the
database that would cause an error in the log (but no such error is

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to