|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[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..
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 18:00:01 2025 UTC |
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.