|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5182 Oracle functions always fail
Submitted: 2000-06-22 00:28 UTC Modified: 2006-07-17 09:04 UTC
From: sendjaja at b2be dot com Assigned:
Status: Not a bug Package: OCI8 related
PHP Version: 4.0.0 Release OS: Redhat Linux 6.1
Private report: No CVE-ID: None
 [2000-06-22 00:28 UTC] sendjaja at b2be dot com
I am using apache 1.3.12, oracle 8.05 and php 4.0. What I have done, I compile php4 using this argument:

./configure --with-oracle=/usr/local/pkg/oracle/products/8.0.5 --with-apache=../apache_1.3.12 --enable-track-vars --with-xml

then for the apache configuration, I just use:

./configure  --activate-module=src/modules/php4/libphp4.a

The problems are in oracle function. I have php function to connect to oracle. It works fine in php 3.16 with the exactly the same configuration as above... however it does not work in php 4. The error message says like

Fatal error: Call to undefined function: ocilogon() ....

Do I need to add anything else to get this function work? Your help will be appreciated.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-24 13:39 UTC] thies at cvs dot php dot net
in php 4 you have to say --with-oci8 to activate to oci*() functions. --with-oracle only activates the ora_*() functions
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Thu Jan 23 06:01:24 2020 UTC