Skip to Main Content

Oracle Database Express Edition (XE)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

PHP Oracle XE - Warning: ocilogon() [function.ocilogon]: OCIEnvNlsCreate()

613687Jul 24 2008 — edited Jul 30 2008
Hello everyone,

I have:

- Apache 2.0.63 and PHP 5.2.6 set up on Windows Professional XP SP3.
- Both are working correctly, and I am able to connect to/use MySQL without any problems.
- I have installed: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
- I am trying to access Oracle LOCALLY (Apache, PHP, and Oracle XE are all on the same machine).

When I attempt to connect to the database using the oci8test.php script located near the bottom of this page: http://www.oracle.com/technology/tech/php/htdocs/inst_php_apache_windows.html), I get the following error:

Warning: ocilogon() [function.ocilogon]: OCIEnvNlsCreate() failed. There is something wrong with your system - please check that PATH includes the directory with Oracle Instant Client libraries in C:\Apache\Apache2\htdocs\oci8test.php on line 3

RE: "please check that PATH includes the directory with Oracle Instant Client libraries" - The page listed previously where oci8test.php is on did not specify setting paths to connect to Oracle locally.

Can you please point me in the right direction as to what I am doing incorrectly here.
Thank you for your help!

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Aug 27 2008
Added on Jul 24 2008
2 comments
909 views