Re: PHP 4.0 Bug #7381 Updated: Connect to postgres -> weirdness

From: Date: Tue, 09 Jan 2001 04:01:53 +0000
Subject: Re: PHP 4.0 Bug #7381 Updated: Connect to postgres -> weirdness
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-43503@lists.php.net to get a copy of this message
I'm terribly sorry - I can't get into the bug list to answer you on the board. I discovered it's an OpenSSL problem. Installing the latest version of OpenSSL (www.openssl.org) fixes the problem. Mike > Does this still happen with 4.0.4? > > > Previous Comments: > -------------------------------------------------------------------------- - > > [2000-10-21 16:36:01] mdagosta@earthtribe.net > Environment > ----------- > PHP 4.0.3pl1, PHP 4.0.2 (tried both) > OpenBSD 2.7 > Apache 1.3.12 (that ships with OpenBSD 2.7) (with SSL) > Postgres 7.0.2 > > Browsing from: > Windows 2000 > Internet Explorer 5.0 > Netscape Communicator 4.75 > > > Script that breaks apache or php. > --------------------------------- > <html> > <head><title>PHP/Apache Bails</title></head> > <body> > > Test<br> > <?php $conn = dbConnect("dbname=test"); ?> > After Test<br> > > </body> > </html> > > > php.ini > ------- > I just copied php.ini-dist to php.ini (it's unmodified) > > ./configure > ----------- > './configure' '--prefix=/usr/local/php' '--with-apxs' > '--without-mysql' '--with-pgsql=/usr/local/pgsql' > > Other Info > ---------- > In postgres, I set all the permissions for the web browser to be able to connect to the database. > > Symptoms > -------- > Both netscape and microsoft browsers say the page is unavailable. Sometimes IE says that "something strange happened" with no useful error message and serves up a blank page. > > PHP works fine without the pg_pconnect(). > > Workaround > ---------- > Install apache-1.3.14 from scratch > Install php from scratch as a static module (not DSO) > You'll be able to connect to the database no problem. > > Why's it a problem? I haven't been able to get SSL and PHP to run at the same time on any setup besides the apache that ships with OpenBSD, but then the database doesn't work. > > -------------------------------------------------------------------------- - > > > Full Bug description available at: http://bugs.php.net/?id=7381 > >

« previous php.dev (#43503) next »