Hi,
Assuming we had the same problem, I found the solution to be to replace the existing c:\php\ext\php_oci8.dll with a new one from the PEAR/PECL.
http://pecl4win.php.net/ext.php/php_oci8.dll
(#7 in the list is the latest for for PHP v5.1.2, for example)
Here is the error that was showing up in my Application Event Log (Windows Server 2003) when Apache would crash:
"Reporting queued error: faulting application Apache.exe, version 2.0.55.0, faulting module OraClient10.Dll, version 10.2.0.1, fault address 0x000ab9d3."
"Reporting queued error: faulting application Apache.exe, version 2.0.55.0, faulting module ntdll.dll, version 5.2.3790.0, fault address 0x0000869f."
Although I was able to connect and query fine, the fault / Apache crash would occur whenever I issued bad SQL.
At the end of this Oracle Technical Note is comments about the "re-factored" dll:
http://www.oracle.com/technology/pub/notes/technote_php_instant.html
"The "re-factored" OCI8 extension introduces new syntax for Instant Client support. The re-factored extension was first included in PHP 5.1.2."
My (now working configuration) is:
- Windows Server 2003 (no SP installed)
- Apache 2.0.55 (w/ PHP support as an Apache Module, not CGI)
- PHP 5.1.2
- PEAR 1.4.6
- PEAR DB 1.7.6