Bug #15282: pg_connect failing on iPlanet 4.1 nsapi
| From: | daver at qunara dot com | Date: | Tue, 29 Jan 2002 18:56:29 +0000 |
| Subject: | Bug #15282: pg_connect failing on iPlanet 4.1 nsapi | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-78461@lists.php.net to get a copy of this message | ||
From: daver@qunara.com
Operating system: Solaris 2.8
PHP version: 4.1.1
PHP Bug Type: PostgreSQL related
Bug description: pg_connect failing on iPlanet 4.1 nsapi
When attempting to connecting to a remote database using
pg_connect(host=dbhost user=dbuser dbname=dbname), the operation fails.
I can connect using psql from the command line or through a perl script as
any user. Running php as a CGI binary also works. However, when running as
an nsapi, the connection fails. A quick look using snoop shows that the
failed connection appears to be sending SYN/RST instead of SYN/ACK (which
is what is seen during a successful connection).
Here's my system details:
OS: Solaris 2.8
Web Server: iPlanet 4.1
PHP version: php 4.1.1
PHP configure options:
./configure --with-nsapi=/usr/local/iws41 \
--with-pgsql=/usr/local/pgsql \
--enable-libgcc
PostgreSQL version: 7.0.3
For what it's worth, connections to a mysql database between the same
systems works without a hitch.
Any suggestions would be appreciated.
--
Edit bug report at: http://bugs.php.net/?id=15282&edit=1