1 of 1 people found this helpful
There are a couple of options for using JDBC with PHP, but it seems simpler to use Teiid ODBC access instead. See https://docs.jboss.org/author/display/TEIID/ODBC+Support to setup a PostgreSQL client DSN on your system that points to Teiid. You would then use something like http://php.net/manual/en/function.odbc-connect.php to consume it from PHP. I don't think that anyone has reported using Teiid through PHP, but it should work given you're using a known PostgreSQL client.