The Easysoft ODBC-ODBC Bridge lets you access ODBC databases such as Microsoft Access and Microsoft SQL Server from Apache > PHP. To use the ODBC-ODBC Bridge with PHP under Apache 2.0.x on Irix, note the following:
-lpthread
to LDFLAGS
before configuring PHP../configure --with-unixODBC=shared,/usr/local/easysoft/unixODBC
on the PHP configure line.
./configure --prefix=/usr/local/easysoft/unixODBC --sysconfdir=/etc --enable-threads=yes --enable-drivers=no --enable-iconv=no --enable-stats=no --enable-gui=no make make install
ODBC-ODBC Bridge_r
) in your data sources. To do this, use ODBC-ODBC Bridge_r
as the value for the Driver
entry in your data sources in odbc.ini
. For example:
[demo] Driver = ODBC-ODBC Bridge_r Description = Easysoft ODBC-ODBC Bridge demo data source SERVERPORT = demo.easysoft.com:8888 TARGETDSN = pubs LOGONUSER = demo LOGONAUTH = easysoft TargetUser = demo TargetAuth = easysoft
lib
directory:
cp /usr/local/easysoft/lib/libesrpc_r.so /usr/local/apache2/lib/ cp /usr/local/easysoft/lib/libessupp_r.so /usr/local/apache2/lib/ cp /usr/local/easysoft/lib/libesextra_r.so /usr/local/apache2/lib/ cp /usr/local/easysoft/lib/libeslicshr_r.so /usr/local/apache2/lib/
For more information about using the ODBC-ODBC Bridge with Apache > PHP, refer to Enabling ODBC support in PHP under Apache.