ID:               37759
 User updated by:  christian dot schaffer at muenchen dot de
 Reported By:      christian dot schaffer at muenchen dot de
 Status:           Bogus
 Bug Type:         OCI8 related
 Operating System: Solaris 10
 PHP Version:      5.1.4
 New Comment:

Problem only relevant with Oracle Client 10.2.x, not e.g. with 10.1.x.
Caused by Oracle's overall strategy to tighten up security, the
directory permissions are not appropriate for use with third-party
software.

One-off patch for Solaris 10 (x64) is being developed.


Previous Comments:
------------------------------------------------------------------------

[2006-06-12 10:49:59] [EMAIL PROTECTED]

The error message is pretty clear.
Not PHP problem.

------------------------------------------------------------------------

[2006-06-09 08:06:15] christian dot schaffer at muenchen dot de

Description:
------------
OCIEnvNlsCreate() failed. There is something wrong with your system -
please check that ORACLE_HOME is set and points to the right directory
in <file>.php

Configure line is:
#!/bin/sh
#
/localdata/build/php/php-5.1.4/configure \
--enable-bcmath \
--enable-calendar \
--enable-ctype \
--enable-dbase \
--enable-discard-path \
--enable-exif \
--enable-filepro \
--enable-force-cgi-redirect \
--enable-ftp \
--enable-gd-native-ttf \
--enable-magic-quotes \
--enable-mbstring \
--enable-memory-limit \
--enable-safe-mode \
--enable-shmop \
--enable-sigchild \
--enable-sysvsem \
--enable-sysvshm \
--enable-versioning \
--enable-wddx \
--with-bz2 \
--with-dom \
--with-libxml-dir=/opt/csw \
--with-gettext=/opt/csw \
--with-jpeg-dir=/opt/csw \
--with-ldap=/opt/csw \
--with-mysql=/opt/csw/mysql5 \
--with-ndbm \
--with-pgsql=/opt/csw/postgresql \
--with-png-dir=/opt/csw \
--with-iconv=/opt/csw \
--with-tiff-dir=/opt/csw \
--with-ttf=/opt/csw \
--with-freetype-dir=/opt/csw \
--with-xpm-dir=/opt/csw \
--with-zlib=/opt/csw \
--with-gd=/opt/csw \
--with-oci8=/opt/oracle \
--with-apxs2=/opt/csw/apache2/sbin/apxs

System applies Oracle Client 10.2.0.1.0

Reproduce code:
---------------
$co = OciLogon(user,pass,sid);


Expected result:
----------------
Oracle connection establishes

Actual result:
--------------
Warning: ocilogon() [function.ocilogon]: OCIEnvNlsCreate() failed.
There is something wrong with your system - please check that
ORACLE_HOME is set and points to the right directory in
/data/www/htdocs/const.php on line 120


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=37759&edit=1

Reply via email to