From: christian dot schaffer at muenchen dot de Operating system: Solaris 10 PHP version: 5.1.4 PHP Bug Type: OCI8 related Bug description: OCIEnvNlsCreate() failed
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 bug report at http://bugs.php.net/?id=37759&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37759&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=37759&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37759&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=37759&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=37759&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=37759&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=37759&r=needscript Try newer version: http://bugs.php.net/fix.php?id=37759&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=37759&r=support Expected behavior: http://bugs.php.net/fix.php?id=37759&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=37759&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=37759&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=37759&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37759&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=37759&r=dst IIS Stability: http://bugs.php.net/fix.php?id=37759&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=37759&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=37759&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=37759&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=37759&r=mysqlcfg