configuration problem - please help
| From: | Peter Wilson | Date: | Wed, 16 May 2001 21:08:36 +0000 |
| Subject: | configuration problem - please help | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-9377@lists.php.net to get a copy of this message | ||
Newbie question
I am trying to get a linux (redhat 7.0) box running apache (1.3.19) and php
(4.0.5) to communicate with Microsoft Sql Server version 7 or 2000. I am
trying to use the iodbc driver manager with the OpenRDA odbc driver.
Following all the instructions i have managed to install and connect to the
MS DB using the utility provided by OpenRDA as well as by iODBC driver
manager.
The problem is that when I try to put it all together and compile php and
apache to use the driver manager and driver I cannot connect. I haven't
noticed any errors building or running but when I try to connect i get....
Warning: SQL error: [iODBC][Driver Manager]Specified driver could not be
loaded, SQL state IM003 in SQLConnect
When i do a phpinfo() - under the ODBC section i have....
ODBC library : iodbc
ODBC_INCLUDE : @ODBC_INCLUDE@
ODBC_FLAGS : @ODBC_FLAGS@
ODBC_LIBS : @ODBC_LIBS@
Does anyone know what that means?
I am making php with configure
as --with-mysql=/usr/local/mysql --with-xml --with-apache=../apache_1.3.19 -
-enable-track-vars --with-zlib --enable-trans-sid --with-iodbc=/usr/local/od
bcsdk
I am making apache with configure
as --activate-module=src/modules/php4/libphp4.a --enable-module=php4 --prefi
x=/usr/local/apache
Is there anything obvious that i am missing or have done wrong?
I have tried absolutely everything that i know and can find to do and have
failed. I don't know where to turn. Please help me.
Cheers,
Pete