ORA-03106 fatal two-task communication protocol error

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
kerokero
Forum Newbie
Posts: 2
Joined: Sun Feb 16, 2003 10:03 pm

ORA-03106 fatal two-task communication protocol error

Post by kerokero »

help help!

ORA-03106 error when php on linux connect to ORACLE Server.
When run OCIexecute($stmt) , web page show

Warning: OCIStmtExecute: ORA-03106: fatal two-task communication protocol error in /usr/local/apache/htdocs/test1.php on line 17


putenv("ORACLE_SID=flow.test.com");
putenv("ORACLE_HOME=/u01/oracle/product/9.2.0.1");
putenv("TNS_ADMIN=/u01/oracle/product/9.2.0.1/network/admin");
$db = "(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.168.138)(PORT = 1521))(CONNECT_DATA = (SID = flow)))";

$conn = OCIlogon("system","manager",$db);
$stmt = OCIParse($conn, "SELECT NAME FROM database.filedname");
OCIDefineByName($stmt,"NAME",&$name);
OCIexecute($stmt);
Post Reply