Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: PHP5 and Oracle 10g

Re: PHP5 and Oracle 10g

From: Moritz Klein <mklein_at_students.uni-mainz.de>
Date: Sat, 17 Dec 2005 02:32:58 +0100
Message-ID: <dnvpo4$tgp$1@news1.zdv.uni-mainz.de>


PHPguy schrieb:
> I am having serious issues with PHP5/Apache on Solaris 10 (sparc) with
> Oracle 10.2.0.1.0 Enterprise.
>
> I can't connect to it using PHP and get the following:
>
> Warning: ociplogon() [function.ociplogon]: _oci_open_server: Error while
> trying to retrieve text for error ORA-12170

Typically I had this one happening when the ORACLE_HOME was not set inside the Apache-Environment. Look up what phpinfo() tells you and especially search for the environment-variable ORACLE_HOME.

> Sqlplus and Tnsping work fine.

Do they work, issued as user apache (or whatever Apache is running under)?

hth,

   Moritz Received on Fri Dec 16 2005 - 19:32:58 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US