Re: Apache2 + php5 +oracle9i
| From: | Denyl Meneses Guillén | Date: | Mon, 16 May 2005 22:52:45 +0000 |
| Subject: | Re: Apache2 + php5 +oracle9i | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-54799@lists.php.net to get a copy of this message | ||
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