Hello,

I have an interesting problem with PostgreSQL
via PearDB and PHP 4.3.3 .

I have a php page that opens a remote connection
to a Postgres database, performs a query, lists
the results and then closes the connection.

If I run the php from the command line the
connection and query work fine. Php dumps
a nice web page with all the data that I am asking for.

If I serve the same php page via apache
from the same machine, php fails to open
the database connection and thus the page
fails to fill out. PearDB is installed and working
since

if(DB::iserror($db))
detects the error.


Anyone have any ideas?

Thanks,

Peter

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to