ID:               43823
 Updated by:       [EMAIL PROTECTED]
 Reported By:      andreas dot meinl at gmx dot de
-Status:           Open
+Status:           Feedback
 Bug Type:         PDO related
 Operating System: Ubuntu 7.10, AMD64
 PHP Version:      5.2.5
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows (zip):
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip

For Windows (installer):

  http://snaps.php.net/win32/php5.2-win32-installer-latest.msi




Previous Comments:
------------------------------------------------------------------------

[2008-01-11 21:17:35] andreas dot meinl at gmx dot de

Description:
------------
When I use PDO to connect to my PostgreSQL database, I get a
segmentation fault at the end of my PHP script.

Ubuntu 7.10, AMD64, PHP 5.2.3, PostgreSQL 8.2.5

Reproduce code:
---------------
<?php

$hostname = 'localhost';
$dbname = 'xxx';
$username = 'xxx';
$password = 'xxx';

$db = new PDO('pgsql:host=' . $hostname . ';dbname=' . $dbname,
$username, $password);

?>

Expected result:
----------------
I expect nothing, no single line of text.

Actual result:
--------------
[EMAIL PROTECTED]:/tmp$ php ./test.php
Segmentation fault (core dumped)
[EMAIL PROTECTED]:/tmp$


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=43823&edit=1

Reply via email to