PHP 4.0 Bug #6575: httpd segfaults when accessing pgsql database which isn't running
| From: | larsch at cs dot auc dot dk | Date: | Wed, 06 Sep 2000 12:01:14 +0000 |
| Subject: | PHP 4.0 Bug #6575: httpd segfaults when accessing pgsql database which isn't running | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-32348@lists.php.net to get a copy of this message | ||
From: larsch@cs.auc.dk
Operating system: Redhat 6.2/Linux-2.2.17
PHP version: 4.0.1pl2
PHP Bug Type: PostgreSQL related
Bug description: httpd segfaults when accessing pgsql database which isn't running
If postmaster isn't running on the server, the http daemon
segfaults when trying to access the db it using pg_connect();
I used the postgresql rpms available from www.postgresql.org.
The psql binary from the postgresql dist. does not segfault when
trying to open a connection to a server that does not exists, so i figure the
problem must be somewhere in the php module.