Easysoft ODBC-ODBC BridgeHow do I use PHP under Apache 2.0.x with OOB on Irix? |
|
The Easysoft ODBC-ODBC Bridge (OOB) lets you access ODBC databases such as Microsoft Access and Microsoft SQL Server from PHP/Apache. To use the OOB with PHP under Apache 2.0.x on Irix, please note the following:
-lpthread to LDFLAGS before configuring PHP. Configure and build PHP as normal, the unixODBC configure line is:
./configure --with-unixODBC=shared,/usr/local/easysoft/unixODBC
./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
[demo] Driver = OOB_r Description = Easysoft ODBC-ODBC Bridge demo data source SERVERPORT = demo.easysoft.com:8888 TARGETDSN = pubs LOGONUSER = demo LOGONAUTH = easysoft TargetUser = demo TargetAuth = easysoft
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 OOB with Apache/PHP, see Enabling ODBC support in PHP under Apache.