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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 15 05:01:33 2025 UTC