php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41085 How to make OCI8 function to start work...?
Submitted: 2007-04-14 08:36 UTC Modified: 2007-04-17 08:28 UTC
From: scottsdev at gmail dot com Assigned:
Status: Not a bug Package: OCI8 related
PHP Version: 4.4.6 OS: Red Hat Enterprise Linux4
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: scottsdev at gmail dot com
New email:
PHP Version: OS:

 

 [2007-04-14 08:36 UTC] scottsdev at gmail dot com
Description:
------------
Hello,

I have following configuration.

-- PHP 4.3.9
-- Redhat Enterprise Linux4
-- 

I am getting following error: 
Fatal error: Call to undefined function: ocilogon() in /home/www/test/php_ora/ora_conn_test.php on line 3

If I want to enable php to connect Oracle.  What is the requirements and what are the steps of installation to make my server ready to work.

For example: 
Should I have installed any oracle client on linux ???
should I have any OCI Modules/libarary seperately installed from somewhere?
Should I have set any ENVIRONMENT VARIABLES ALREADY SET ... ?
How to make OCILOGON and all other OCI* related function to work.. ?

Thanks & Regards,
J. Scott

Reproduce code:
---------------
$conn = ocilogon("scott", "tiger", "");

Actual result:
--------------
Fatal error: Call to undefined function: ocilogon() in /home/www/test/php_ora/ora_conn_test.php on line 3


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-04-14 09:55 UTC] tony2001@php.net
>Should I have installed any oracle client on linux ???
>should I have any OCI Modules/libarary seperately installed from
somewhere?
>Should I have set any ENVIRONMENT VARIABLES ALREADY SET ... ?
>How to make OCILOGON and all other OCI* related function to work.. ?

http://php.net/oci8
 [2007-04-17 05:55 UTC] scottsdev at gmail dot com
I have done my way.

Thanks anyway.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 10:01:32 2024 UTC