ID: 15475 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Bogus Bug Type: OCI8 related Operating System: HPUX 11.11 UNIX System PHP Version: 4.0.6 New Comment:
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. Previous Comments: ------------------------------------------------------------------------ [2002-02-09 17:43:42] [EMAIL PROTECTED] 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:32:40] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php