note 63303 deleted from setup.oci8 by sixd

From: Date: Mon, 14 Apr 2008 17:35:30 +0000
Subject: note 63303 deleted from setup.oci8 by sixd
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-138308@lists.php.net to get a copy of this message
Note Submitter: jdstil at nononsense dot bluewin dot ch Reason: 1 ---- Apache 1.3, Oracle 9.2, PHP 5.1.2 on Windows XP Pro. Very weird behavior with php_oci8.dll coming with the full windows build (I downloaded yesterday...). Couldn't get any of the examples to work, it appears Apache crashes on oci_parse, but not so if I program "C style": while this doesn't work: <?php $db_conn = oci_connect("scott","tiger"); $parsed = oci_parse($db_conn,"select * from emp"); <-- Apache crashes on execution of this statement // etc... ?> this does: <?php function main($connection) { $parsed = oci_parse($connection,"select * from emp"); $r = oci_execute($parsed, OCI_DEFAULT); // etc... } $db_conn = oci_connect("scott","tiger"); main($db_conn); oci_close($db_conn); ?> Took me the whole day, then I found Francesco Marsan's note (THANKS!) dated February 9th, 2006... and indeed, downloading from http://pecl4win.php.net/ext.php/php_oci8.dll solved the problem instantly.

« previous php.notes (#138308) next »