I am trying to set-up odbc on my RedHat 7.1 Server.
I want the PHP as a DSO for apache.

Here is what I did:

Logged in as root
cd /usr/local

Downloaded the file ftp://www.openlinksw.com/open40/l3kozzzz.taz
mkdir odbc
cd odbc
tar zxvf ../l3kozzzz.taz

cd /usr/local
Downloaded the php 4.0.6 source file from http://us4.php.net/downloads.php

tar zxvf php-4.0.6.tar.gz
cd php-4.0.6

./configure --with-zlib --with-iodbc=/usr/local/odbc/odbcsdk
  --with-mysql=/usr/local/mysql --with-apxs=/usr/local/apache/bin/apxs
make install

cp php.ini-dist /usr/local/lib/php.ini
vi /etc/ld.so.conf
Added a line:

When I tried to start apache via apachectl restart, I got this message
Starting apache: Syntax error on line 206 of
Cannot load /usr/local/apache/libexec/libphp4.so into server: libiodbc.so.2:
cannot load shared object file: No such file or directory
/usr/local/apache/bin/apachectl startssl: httpd could not be started

The lib files are existing and they should be loaded via the /etc/ld.so.conf
Any ideas why apache cant find them?


Neil Aggarwal
JAMM Consulting, Inc.    (972) 612-6056, http://www.JAMMConsulting.com
Custom Internet Development    Ecommerce, Java, JSP, servlets, databases

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to