|
Posted by Andy Hassall on 01/22/06 01:16
On Sun, 22 Jan 2006 09:19:57 +1300, Steve <ThisOne@Aint.Valid> wrote:
>On Fri, 20 Jan 2006 23:26:01 +0100, YeCkeL wrote:
>
>> Warning: oci_new_connect() [function.oci-new-connect]: OCIEnvNlsCreate()
>> failed. There is something wrong with your system - please check that
>> ORACLE_HOME is set and points to the right directory in
>> /wwwroot/htdocs/test.php on line 8
>>
>> I am having this dump on my recent suse 10/oracle 10.2/apache
>> 2.2.0/php5.1.2. Any ideas i pritty much used a uber basic.
>>
>> apache cfg line
>> $ ./configure --prefix=/wwwroot --enable-so
>>
>> php cfg line
>> './configure' '--prefix=/wwwroot/php' '--with-apxs2=/wwwroot/bin/apxs'
>> '--with-config-file-path=/wwwroot/php'
>> '--with-oci8=/opt/oracle/product/10gR2' '--with-curl=/usr/local/lib'
>> '--with-mcrypt' '--with-xmlrpc'
>>
>>
>> Any one see were i fuxed up.
>
>AIUI oci 8 was built on Oracle 8. You're linking it to Oracle 10. It
>seemed to work ok with Oracle 9, but looks like that module needs updating?
That's not the issue - OCI8 is just the API version - it's just as applicable
to 10g as it is to 9i and 8i. The last major API change was in Oracle 7, where
it was called OCI7.
There's definitely something subtle going on here though, as this is a repeat
of the issue from a previous thread "5.1.2 woes". That was triggered by
compiling with "--without-pdo", but it works correctly against 10g if that's
not specified.
The OP hasn't specified that, so there's probably some related library
interaction problem.
To the OP: have you submitted this as a bug on bugs.php.net?
--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
[Back to original message]
|