|
Posted by John Navratil on 10/09/90 11:39
Greetings,
I've been all over this PHP 5.1.2 OCI8 connection issue for the last
couple of days and believe the problem is that the OCI8 extension
requires more access to the oracle installation than it should. I was
able to get past this by adding the 'oinstall' group to the 'apache'
user. Obviously this is not a very secure solution, but it is as far as
I was able to take it given that I am a terrible sysadmin and by no
means and oracle DBA.
For more information you may wish to look into bugs.php.net at bug#
36355.
-- John Navratil
"Mladen Gogala" <gogala@sbcglobal.net> wrote in message
news:pan.2006.02.09.01.08.41.590711@sbcglobal.net...
> On Tue, 07 Feb 2006 14:16:33 -0800, cyrano wrote:
>
>> I am having issues maintaining an oracle connection in my apache/php
>> web application. I am able to succesfully connect to an Oracle 9i
>> dbase using oci() and retrieve expected results for the first couple
>> of
>> attempts - then it dies with a msg in the apache error_log that looks
>> like:
>>
>> PHP Warning: ocilogon() [<a
>> href='function.ocilogon'>function.ocilogon</a>]: OCIEnvNlsCreate()
>> failed. There is something wrong with your system - please check that
>> ORACLE_HOME is set and points to the right directory in ...
>
> It's an old and buggy OCI8. What you should do is relink without OCI8
> and link in OCI8 as a PECL extension.
>
> --
> http://www.mgogala.com
>
Navigation:
[Reply to this message]
|