Warning: pg_prepare(): Query failed: ERROR: function st_asjson(geometry) does not exist LINE 1: SELECT ST_AsJson((geom)) As geojson ^ HINT: No function matches the given name and argument types. You might need to add explicit type casts. in /var/www/play.mylab.jp/htdocs/guest30/lesson/postgis/sample-1-1/api.php on line 15

Fatal error: Uncaught Error: Call to undefined function pg_ececute() in /var/www/play.mylab.jp/htdocs/guest30/lesson/postgis/sample-1-1/api.php:16 Stack trace: #0 {main} thrown in /var/www/play.mylab.jp/htdocs/guest30/lesson/postgis/sample-1-1/api.php on line 16