ID: 14398 Updated by: lobbin Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Bug Type: PostgreSQL related Operating System: Linux PHP Version: 4.0.6 New Comment:
No feedback. Closing. Previous Comments: ------------------------------------------------------------------------ [2001-12-11 16:48:34] [EMAIL PROTECTED] Just to add: Try 4.1.0, maybe the problem has already been fixed. ------------------------------------------------------------------------ [2001-12-11 14:55:28] [EMAIL PROTECTED] please post a backtrace here, check on : bugs.php.net/how-to-report.php how to do it. Derick ------------------------------------------------------------------------ [2001-12-10 04:46:57] [EMAIL PROTECTED] The database called phpbook belongs to user postgres and is located on the local host (-> Access via UNIX sockets and not TCP/IP). pg_host causes PHP to core dump - other commands don't seem to work properly as well. <?php $connstr = "dbname=phpbook user=postgres"; $dbh = @pg_connect($connstr); if ($dbh) { echo "Handle exists<br>"; } echo "Host: ".pg_host($dbh)."<br>"; echo "Database: ".pg_dbname($dbh)."<br>"; echo "Port: ".pg_port($dbh)."<br>"; echo "tty: ".pg_tty($dbh)."<br>"; ?> bash-2.05$ php connect.php X-Powered-By: PHP/4.0.6 Content-type: text/html Segmentation fault ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=14398&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]