PHP 4.0 Bug #4579: OCI8 libraries
| From: | spinto at mobileway dot com | Date: | Wed, 24 May 2000 17:08:21 +0000 |
| Subject: | PHP 4.0 Bug #4579: OCI8 libraries | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-19391@lists.php.net to get a copy of this message | ||
From: spinto@mobileway.com
Operating system: LINUX RedHat 6.1
PHP version: 4.0 Release Candidate 2
PHP Bug Type: Dynamic loading related
Bug description: OCI8 libraries
I have followed all the steps to install APACHE1.3.12/PHP4 Release2 modules version on Linux (Redhat
6.1). My purpose is to access an ORACLE 8.1.5 database from a web server.
I get a successfull result when I build/install PHP with APXS support.My option are as follow :
./configure --prefix=/home/php/Packages/php-4.ORC2
--with-apxs=/home/apache/Packages/apache_1.3.12/bin/apxs --enable-tracks-vars --enable-debug
--enable-trans-sid
--with-oci8=/home/oracle
After I added the LoadModule on the HTTPD.CONF file, APACHE restart properly.
Despite, I can't connect to my ODBC database, using OCI8 functions.
The error message returned is "Fatal error : call to undefined funtion : ocilogon() in
..."
When I use ldd with libphp4.so, I get the following result :
ldd ./home/apache/Packages/apache_1.3.12/libexec/libphp4.so
libgdbm.so.2 => /usr/lib/libgdbm.so.2 (0x40118000)
libpam.so.0 => /lib/libpam.so.0 (0x4011f000)
libdl.so.2 => /lib/libdl.so.2 (0x40127000)
libclntsh.so.8.0 => /usr/lib/libclntsh.so.8.0 (0x4012a000)
libpthread.so.0 => /lib/libpthread.so.0 (0x40632000)
libm.so.6 => /lib/libm.so.6 (0x40643000)
libttf.so.2 => /usr/lib/libttf.so.2 (0x4065f000)
libgd.so.1 => /usr/lib/libgd.so.1 (0x40675000)
libresolv.so.2 => /lib/libresolv.so.2 (0x406ab000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x406ba000)
libnsl.so.1 => /lib/libnsl.so.1 (0x406e7000)
libc.so.6 => /lib/libc.so.6 (0x406fd000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)