Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PostgreSQL

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi to all. I have the following problem.

I have the following call in a php script

$con = pg_connect("dbname = people");

when I try to execute this I get the following error message:

Warning: unable to connect to postgreSQL server: FATAL 1: setUserId: user
'apache' is no i 'pg_shadow' in /var/ in line 18

As you can see... I am running RedHat 7.0 with apache and PHP4... which is
the mistake and where can I allow the user apache to access the database?

Thanks a lot
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top