Posted by IDK on 07/10/07 13:28
I have the following code:
<?
#!/usr/bin/php-cgi -e
$dbconn = pg_pconnect("host=localhost dbname=zerus ".
"user=zuser password=1")
or die('Could not connect: ' . pg_last_error());
pg_close($dbconn);
echo "B"
?>
***************************************************
And I get the following output:
X-Powered-By: PHP/5.2.3-1+b1
Content-type: text/html
BSegmentation fault
I'm using the php 5.2.3-1+b1 and postgres 8.2.4-2.
This has to be some destruction fault with postgres/php...
I don't get any message when I use mod_php...
Is there any fix or does someone know why this happens?
[Back to original message]
|