You are here: Re: OCI8 & PHP5 OCIEnvNlsCreate() failed. « PHP Programming Language « IT news, forums, messages
Re: OCI8 & PHP5 OCIEnvNlsCreate() failed.

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация