Bug #15475 Updated: Call to undefined function: ocilogon() in DB/oci8.php
| From: | anan at wethai dot com | Date: | Sat, 09 Feb 2002 22:43:42 +0000 |
| Subject: | Bug #15475 Updated: Call to undefined function: ocilogon() in DB/oci8.php | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-79869@lists.php.net to get a copy of this message | ||
ID: 15475
Updated by: anan@wethai.com
Reported By: anan@wethai.com
Status: Feedback
Bug Type: OCI8 related
Operating System: HPUX 11.11 UNIX System
PHP Version: 4.0.6
New Comment:
I use Oracle 8.1.6i and install it under /opt/oracle
how can I load oci8.so library?
Thank you..
Previous Comments:
------------------------------------------------------------------------
[2002-02-09 17:32:40] 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:12:15] anan@wethai.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..
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15475&edit=1