|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2006-01-22 02:39 UTC] 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 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 29 08:00:01 2025 UTC |
# php -r 'var_dump(oci_connect("system", "system", "HP")); var_dump(new PDO("oci:dbase=hp", "system", "system"));' resource(4) of type (oci8 connection) object(PDO)#1 (0) { } Yes, EOD.