Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

Using a dll dependency checker, like depends.exe , inspect php_oci8.dll  . Depends told us we were missing MSVCRT71MSVCR71.DLL  and MSJAVA.DLL .  Download missing DLLs from a trusted site and follow installation instructions . ( Our instructions said to add them to C:\WINDOWS\SYSTEM32 .

...

If you run the test script now, you'll get an error message about "Missing or unknown NLS entry". NLS_LANG tells Oracle what language to default to. The installed value doesn't correspond to any known language packs.   Per a bug report on the Oracle site,  run regedit.exe and rename or delete the registry key
My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\NLS_LANG .

Alternately, work with an Oracle DBA to give it a meaningful value. 

8. Run the test script.

Voila! At this point, it worked.

...

* Reinstall the php_oci8.dll .unmigrated-wiki-markup

One poster suggested the extension had been improperly compiled . We downloaded the dll from \ [the PECL repository\| http://pecl4win.php.net/ext.php\]    . Since this is part of PHP.net, the home of PHP, it is a trustworthy site.

* Change permissions on the dll and extension driver.

Another poster suggested that permissions were an issue, and their problem was resolved by giving full control on the extensions directory to Everybody from the file explorer.  

RESOURCES

Wiki Markup\[PHP.net\|http://php.net\] is your friend, especially the \ [manual section on OCI8\|http://php.net/manual/en/ref.oci8.php\].

Wiki MarkupThe Oracle site hosts \ [The Underground PHP and Oracle Manual\|http://www.oracle.com/technology/tech/php/pdf/underground-php-oracle-manual.pdf\] .

Wiki MarkupIf you are developing your own application, rather than configuring an existing PHP and Oracle application, it's well to use the \ [PEAR::MDB2 package\|http://pear.php.net/package/MDB2\].    This will give you portability between database flavors.