#39096 [Bgs]: OCI8 fails to load fully

2006-10-10 Thread peter dot wilton-jones at eads dot com
 ID:   39096
 User updated by:  peter dot wilton-jones at eads dot com
 Reported By:  peter dot wilton-jones at eads dot com
 Status:   Bogus
 Bug Type: OCI8 related
 Operating System: Windows 2003 Server
 PHP Version:  5.1.6
 New Comment:

Problem Resolved.

This was not a PHP issue, sorry for raising the bug report for a non
bug. Please close this case.

For your information. The resolution was to edit the registry
HKLM/Software/Oracle by renaming NLS_LANG to xLNS_LANG.
This is not an issue if you have never installed the Full Oracle
Client.


Previous Comments:


[2006-10-10 08:53:05] peter dot wilton-jones at eads dot com

Attempted that and now it had loaded the libraries into PHPINFO but
produces another error ORA-12705. This instantly points at the
environment but this does not appear to be the reason.

I have removed all references to ORACLE and then placed the following
Enviromnents
PATH=c:\ociClient;c:\php;.
LD_LIBRARY_PATH=c:\ociClient
TNS_ADMIN=c:\ociClient

All files from the Client Libraries are in c:\ociClient

I have attempted to use the onld TNSNAMES.ora file as previously
working but this failed and I have also attempted to write the SID
manually but all fail.

This now appears to be another problm from the origional but still does
not appear to work fully.



[2006-10-09 16:39:11] [EMAIL PROTECTED]

You must install Oracle Instant Client in order to use newer versions
of OCI8 on Windows.



[2006-10-09 15:05:26] peter dot wilton-jones at eads dot com

Description:

When upgrading from 5.0.5 to 5.1.6 I am unable to get php_oci8.dll to
load correctly.

I am using all of the same parameters that I used in 5.0.5 and have
even tried the same php,ini file but it fails to load.

I do NOT get an error saying that php_oci8.dll cannot be found and it
is definately UN-commented in php.ini.

When I then attempt an oci_connect or oci_pconnect, I get an error
saying 
"Fatal error: Call to undefined function oci_connect() in "

Examining phpinfo, no entry for oci8 exists however the location of
php.ini is correct.

Both 5.0.5 and 5.1.6 are set up in the same way and oci.dll is in the
same location therefore is cannot be Oracle Library errors.

I have tried both the php_oci8.dll that came with the distribution and
from http://pecl4win.php.net/ext.php/php_oci8.dll (5.1.2) but both
produced the same error.

Reproduce code:
---
$ora_handler = oci_connect ("myusername", "mypassword", "mydatabase");

Actual result:
--
No output was given apart from error "Fatal error: Call to undefined
function oci_connect() in "






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


#39096 [Bgs]: OCI8 fails to load fully

2006-10-10 Thread peter dot wilton-jones at eads dot com
 ID:   39096
 User updated by:  peter dot wilton-jones at eads dot com
 Reported By:  peter dot wilton-jones at eads dot com
 Status:   Bogus
 Bug Type: OCI8 related
 Operating System: Windows 2003 Server
 PHP Version:  5.1.6
 New Comment:

Attempted that and now it had loaded the libraries into PHPINFO but
produces another error ORA-12705. This instantly points at the
environment but this does not appear to be the reason.

I have removed all references to ORACLE and then placed the following
Enviromnents
PATH=c:\ociClient;c:\php;.
LD_LIBRARY_PATH=c:\ociClient
TNS_ADMIN=c:\ociClient

All files from the Client Libraries are in c:\ociClient

I have attempted to use the onld TNSNAMES.ora file as previously
working but this failed and I have also attempted to write the SID
manually but all fail.

This now appears to be another problm from the origional but still does
not appear to work fully.


Previous Comments:


[2006-10-09 16:39:11] [EMAIL PROTECTED]

You must install Oracle Instant Client in order to use newer versions
of OCI8 on Windows.



[2006-10-09 15:05:26] peter dot wilton-jones at eads dot com

Description:

When upgrading from 5.0.5 to 5.1.6 I am unable to get php_oci8.dll to
load correctly.

I am using all of the same parameters that I used in 5.0.5 and have
even tried the same php,ini file but it fails to load.

I do NOT get an error saying that php_oci8.dll cannot be found and it
is definately UN-commented in php.ini.

When I then attempt an oci_connect or oci_pconnect, I get an error
saying 
"Fatal error: Call to undefined function oci_connect() in "

Examining phpinfo, no entry for oci8 exists however the location of
php.ini is correct.

Both 5.0.5 and 5.1.6 are set up in the same way and oci.dll is in the
same location therefore is cannot be Oracle Library errors.

I have tried both the php_oci8.dll that came with the distribution and
from http://pecl4win.php.net/ext.php/php_oci8.dll (5.1.2) but both
produced the same error.

Reproduce code:
---
$ora_handler = oci_connect ("myusername", "mypassword", "mydatabase");

Actual result:
--
No output was given apart from error "Fatal error: Call to undefined
function oci_connect() in "






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