OCI8 on NT

From: Date: Mon, 22 May 2000 19:07:07 +0000
Subject: OCI8 on NT
Groups: php.version4 
Request: Send a blank email to php-version4+get-15449@lists.php.net to get a copy of this message
This is my test script: <html> <body> <?php dl("php_oci8.dll"); $con = OCILogon("XX", "XX", "XX"); $sql = "SELECT * FROM logins"; $stmt = OCIParse($con, $sql); OCIExecute($stmt); OCIFetch( $stmt ); print OCIResult($stmt, "LOGIN" ); OCIFreeStatement($stmt); OCILogoff($con); ?> </body> </html> But when I run this script I get the following messages: Warning: Function registration failed - duplicate name - ocidefinebyname in Unknown on line 0 ..<snip>.. Warning: Function registration failed - duplicate name - ocifreecursor in Unknown on line 0 Warning: oci8: Unable to register functions, unable to load in Unknown on line 0 PHP has encountered an Access Violation at 023EAB79 I have the php_oci8.dll loaded in the php.ini file, so if I omit the dl() line I just get PHP has encountered an Access Violation at 023EAB79. I placed php_oci8.dll directly in the Winnt dir, because otherwise it did not seem to be found. IIS definetly finds it now as I can not delete it anymore without stoping IIS. Thanks, Florian

« previous php.version4 (#15449) next »