Google
Web dns.bdat.net

Re: [PHP-ES] Apache2 + php5 +oracle9i

Write haof XML files: Denyl Meneses Guillén ( dmeneses@cgaip.com.pe)
Fecha: mar 17 may 2005 - 00:52:45 CEST


te falta compilar con ORA es decir --with-ora=/o0/9.2.0
----- Original Message -----
From: "Edgar W. Morante B." < emorante@cgaip.com.pe>
To: < php-es@lists.php.net>
Sent: Monday, May 16, 2005 4:55 PM
Subject: [PHP-ES] Apache2 + php5 +oracle9i

He hecho una instalación de Apache2 + php5 +oracle9i en un RHAS3 pero me
arroja el error
*OCIStmtExecute: ORA-03106: fatal two-task communication protocol error*
El error sale al ejecutar un simple query,
<?
include("../../conexion.php");

       $query = "Select calidad from calidad";
       $stmt = ociparse($conn,"$query");
       ociexecute($stmt);

?>
He compilado de diferentes formas pero me arroja exactamente el mismo error
1) con "with-oci9"
[root@emorante php-5.0.4]# ./configure --with-oracle=/o0/9.2.0/
--with-oci9=/o0/9.2.0 --with-apxs2=/www/bin/apxs

2) con "with-oci8"
[root@emorante php-5.0.4]# ./configure --with-oracle=/o0/9.2.0/
--with-oci8=/o0/9.2.0 --with-apxs2=/www/bin/apxs

3) tal com Oracle ejemplifica con Oracle8
[root@emorante root]# ./configure --prefix=/www/php
--with-apxs2=/www/bin/apxs --with-oci8=/o0/9.2.0 --enable-sigchild

-- 
PHP Spanish Localization Talk Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Este archivo fue generado por hypermail 2.1.7 : sáb 18 mar 2006 - 18:24:01 CET