I have the following code:
<?
#!/usr/bin/php-cgi -e
$dbconn = pg_pconnect("ho st=localhost dbname=zerus ".
"user=zuser password=1")
or die('Could not connect: ' . pg_last_error() );
pg_close($dbcon n);
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?
<?
#!/usr/bin/php-cgi -e
$dbconn = pg_pconnect("ho st=localhost dbname=zerus ".
"user=zuser password=1")
or die('Could not connect: ' . pg_last_error() );
pg_close($dbcon n);
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?
Comment