#36119 [Fbk->Opn]: OCI8 and PDO are interdependent
| From: | gogala at sbcglobal dot net | Date: | Sun, 22 Jan 2006 05:08:29 +0000 |
| Subject: | #36119 [Fbk->Opn]: OCI8 and PDO are interdependent | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-92346@lists.php.net to get a copy of this message | ||
ID: 36119
User updated by: gogala at sbcglobal dot net
Reported By: gogala at sbcglobal dot net
-Status: Feedback
+Status: Open
Bug Type: OCI8 related
Operating System: Linux, FC3
PHP Version: 5.1.2
New Comment:
Tony, I have 17 years of experience as an Oracle DBA. Such a
mistake is highly unlikely for me, even if the problem wasn't
reproduced independently. Unfortunately, Andy Hassall has also
reproduced it. See the recent thread called "5.1.2 woes" on
comp.lang.php
Previous Comments:
------------------------------------------------------------------------
[2006-01-22 02:44:13] tony2001@php.net
OCI8 and PDO are totally different and presence of PDO doesn't affect
OCI8 in any way.
If you get the error message you get - "there is something wrong with
your system - please check that ORACLE_HOME is set and points to the
right directory".
------------------------------------------------------------------------
[2006-01-22 02:39:52] gogala at sbcglobal dot net
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 this bug report at http://bugs.php.net/?id=36119&edit=1