RE: [PHP-DB] PHP / Apache -- output truncated after pg_connect() call

2003-03-31 Thread Dave Brunberg
For any who may be interested: I fixed the problem, noted below, myself. Evidently the Slackware PHP/Apache binary is somewhat broken. It worked after I rebuilt PHP with configure --with-axps --with-pgsql Apache did not require a rebuild. dwb -Original Message- From: Dave Brunberg

[PHP-DB] PHP / Apache -- output truncated after pg_connect() call

2003-03-28 Thread Dave Brunberg
I'm having a problem with a php script when connecting to a postgresql database. The problem is this: When Apache runs the php script, the output is missing everything after my first call to pg_connect(). i.e., I can echo, print whatever I like, but everything is cut off after that call--it

RE: [PHP-DB] Connection issues with pgsql?

2003-03-28 Thread Dave Brunberg
I'd suggest building a connection string, explicitly defining the user and password. Maybe it would give you a more descriptive error that way (invalid user, etc.). The other thing I've done is do something like this: $database = pg_connect ($conn_string) or die (Help! No connection to

RE: [PHP-DB] Connection issues with pgsql?

2003-03-28 Thread Dave Brunberg
in connecting to the db server, but, for some reason PHP is unable to use the connection after that. Like I said, it's weird. I have no idea why it's doing that. - Original Message - From: Dave Brunberg [EMAIL PROTECTED] To: 'Nathaniel Price' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent