Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: PHP5 and Oracle 10g
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
![]() |
![]() |