Re: PHP4 Not Seeing PostgreSQL 7.2

From: Date: Sun, 21 Jul 2002 17:46:12 +0000
Subject: Re: PHP4 Not Seeing PostgreSQL 7.2
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-20679@lists.php.net to get a copy of this message
OK, I solved this problem. Posting the solution in case anyone runs accross this. Our Apache web server runs under a unix account (of course). In the PostgreSQL world, you have to create a database user under the same name like so: ./createuser webserver Once we did this -- everything worked. What puzzles me though is that PHPINFO() doesn't even show that pgsql is compiled in when apparently it was there all along. PHPINFO now shows the pgsql information. You would think, at the very least, phpinfo would show PGSQL compiled in weather or not it could connect to the database eh? Anyway, this apparently solved this problem.

« previous php.db (#20679) next »