php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15475 Call to undefined function: ocilogon() in DB/oci8.php
Submitted: 2002-02-09 17:12 UTC Modified: 2002-02-09 17:53 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: anan at wethai dot com Assigned:
Status: Not a bug Package: OCI8 related
PHP Version: 4.0.6 OS: HPUX 11.11 UNIX System
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: anan at wethai dot com
New email:
PHP Version: OS:

 

 [2002-02-09 17:12 UTC] anan at wethai dot com
I write the script as following...

<html><head><title>PHP Test</title></head>
<body>
<?php
	require_once "DB.php";
	echo "Connect to Oracle Database...";
	$dbh = DB::connect("oci8://system:manager@test");
?>
</body>
</html>

But it show the error message when I try to run it.

Connect to Oracle Database...
Fatal error: Call to undefined function: ocilogon() in DB/oci8.php on line 86

and I open the file name is "oci8.php" and find the function "ocilogon()" but this function not found, so I try to find it in "common.php" file but not found too, and I try it in "DB.php" file but not found too.....

Where ocilogon() ?.

The database util such as 
DB.php, oci8.php, and etc..
are enclose with php-4.0.6 package..

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-09 17:32 UTC] torben@php.net
Well, either Oracle support isn't compiled in, or you haven't
loaded the oci8.so library.

Can you check phpinfo() and see whether it reports that 
OCI8 support available?


Torben
 [2002-02-09 17:43 UTC] anan at wethai dot com
I use Oracle 8.1.6i and install it under /opt/oracle 
how can I load oci8.so library?

Thank you..
 [2002-02-09 17:53 UTC] torben@php.net
You need to read the Installation section of the manual, 
where this is explained--and make sure you include the 
Oracle 8 extension on your configure line:

  --with-oci8[=DIR]       Include Oracle-oci8 support. 
                          Default DIR is ORACLE_HOME.
 
Not a bug ==> Bogus.


 [2002-02-10 07:17 UTC] anan at wethai dot com
I install apache server with swinstall from depot style

How can I add a oracle module?.

Thank..
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Feb 05 10:01:30 2025 UTC