I feel a little stupid posting a query and then posting a solution to it, 
but here goes:

Since I had installed the oracle client as user oracle, I had to give 
apache permission to access the oracle files:
chmod 750 /home/oracle
usermod -G oracle apache
usermod -G oracle nobody

And add the following line in /etc/rc.d.init.d/httpd
export ORACLE_HOME=/home/oracle/OraInst1
(or whatever your oracle home is.....)

Everything worked fine after that with a restart of apache. If someone 
wants, I can write the steps out in another mail.

Regards,
Vinu.

On Wednesday 20 February 2002 12:52, Vinu Moses wrote:
> Hello friends,
>
> I'm unable to connect to a remote oracle database using the oci8 calls in
> php. When I run the program I get the following errors:
>
> Warning: _oci_open_server: Error while trying to retrieve text for error
> ORA-12154 in /var/www/html/oracle.php on line 3

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to