|
Posted by jzs on 01/22/08 20:05
SOFTWARE
* windows 2003 sp2
* apache 2.0.55 (win32)
* php 5.1.2 (oci8 support enabled with "c:\oracle\product
\10.2.0\client_1\bin" listed under apache environment, environment and
php variables. path "c:\oracle\product\10.2.0\client_1\BIN" exists on
machine)
BACKGROUND
when i try to connect to an oracle 10g database on another machine
like so (
$connection = oci_new_connect('username', 'password', 'php.net');
), my attempt is successful.
PROBLEM
however when i attempt to prepare an oracle statement for execution
like so (
$sql = oci_parse($connection, 'SELECT * FROM database WHERE column_id
= 1');
), i get the following error:
[notice] Parent: child process exited with status 3221225477 --
Restarting
this causes apache to stop!!! check http://us.php.net/manual/en/function.oci-parse.php
for more info.
SOLUTION
this is where you guys come in ;). google points to possible memory
overflow :(.
jzs
Navigation:
[Reply to this message]
|