From: gogala at sbcglobal dot net Operating system: Linux, FC3 PHP version: 5.1.2 PHP Bug Type: OCI8 related Bug description: OCI8 and PDO are interdependent
Description: ------------ If I link PHP 5.1.2 with --disable-pdo --with-oci8=$ORACLE_HOME I am not able to connect. If I relink with --with-oci8=$ORACLE_HOME --with-pdo-oci the server starts working. Here is the error code: 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 /usr/local/PHP/adodb/drivers/adodb-oci8.inc.php on line 228, referer: Reproduce code: --------------- Any connect to ORACLE Actual result: -------------- [Thu Jan 12 19:26:11 2006] [notice] Apache/2.0.54 (Unix) PHP/5.1.2 configured -- resuming normal operations [Thu Jan 12 19:26:20 2006] [error] [client 127.0.0.1] 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 /usr/local/PHP/adodb/drivers/adodb-oci8.inc.php on line 228, referer: http://localhost/dba/dba_helper.php -- Edit bug report at http://bugs.php.net/?id=36119&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36119&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36119&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36119&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=36119&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=36119&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=36119&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=36119&r=needscript Try newer version: http://bugs.php.net/fix.php?id=36119&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=36119&r=support Expected behavior: http://bugs.php.net/fix.php?id=36119&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=36119&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=36119&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=36119&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36119&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=36119&r=dst IIS Stability: http://bugs.php.net/fix.php?id=36119&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=36119&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=36119&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=36119&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=36119&r=mysqlcfg