php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4579 OCI8 libraries
Submitted: 2000-05-24 19:08 UTC Modified: 2000-06-19 18:50 UTC
From: spinto at mobileway dot com Assigned:
Status: Closed Package: Dynamic loading
PHP Version: 4.0 Release Candidate 2 OS: LINUX RedHat 6.1
Private report: No CVE-ID: None
 [2000-05-24 19:08 UTC] spinto at mobileway dot com
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)    


                      

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-19 18:50 UTC] rasmus at cvs dot php dot net
You are doing something silly.  This works fine.  My guess is that you didn't restart
your web server or you are running the wrong binary.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 06 01:01:31 2024 UTC