I have just merged the patches from sapdbphp.tgz into the PHP
repository.
Additionally, I have corrected some probably harmless compiler warnings
in the above mentioned patchset.
Some quick hints:
-As opposed to Adabas D, you cannot connect locally to a database,
vserver must be running.
-In PHP's odbc_connect() function, use a database specification in the
form of
"host:database", e.g. for the sample database:
odbc_connect("localhost:TST", "TEST", "TEST")
-The odbc.ini file in /usr/spool/sql/config as used by Adabas D doesn't
seem to work with SAPDB
- SAP DB seems to work fine without setting SAPDBROOT / DBROOT
environment variables. However, you get warnings in the user's appldiag
file, that can be silenced by setting the DBROOT environment variable to
any path - /tmp will do.
-Andreas
--
Andreas Karajannis
GMD National Research Center for Information Technology
Schloss Birlinghoven, D-53754 Sankt Augustin
Phone +49 2241 142948
| Thread |
|---|
| • SAP DB Support for PHP | Andreas Karajannis | 17 Oct |