I tried to run my script from the command line on a Debian Linux machine and got an error:
server:/home/user1/public# php -q chump.php
PHP Warning: Module 'json' already loaded in Unknown on line 0
PG TEST<br>query failed<br> query:INSERT INTO test SET value='foobar'<br> error:ERROR: syntax error at or near "SET" at character 18Segmentation fault
that segmentation fault part doesn't sound good. i tried running this very simple script and got similar output:
<?
echo 'foobar';
?>
the result:
server:/home/user1/public# php -q chump.php
PHP Warning: Module 'json' already loaded in Unknown on line 0
foobarserver:/home/user1/public#
Is there something wrong with my php install or config?