Note: You are currently viewing documentation for Moodle 2.0. Up-to-date documentation for the latest stable version is available here: Installing Oracle for PHP.

Talk:Installing Oracle for PHP: Difference between revisions

From MoodleDocs
m (→‎Encoding Woes: added sig)
Line 6: Line 6:


Best to set NLS_LANG=$($ORACLE_HOME/bin/nls_lang.sh), so your web server just takes it from whatever Oracle decides it should be.  In my locale the default happens to be  "AMERICAN_AMERICA.AL32UTF8".
Best to set NLS_LANG=$($ORACLE_HOME/bin/nls_lang.sh), so your web server just takes it from whatever Oracle decides it should be.  In my locale the default happens to be  "AMERICAN_AMERICA.AL32UTF8".
[[User:Bryan Cribbs|Bryan Cribbs]] 22:05, 28 January 2007 (CST)

Revision as of 04:05, 29 January 2007

Aside from the Encoding problems, the link provided in the article puts the pickle in the jar.

Encoding Woes

Using the Zend provided packaged install of Apache+PHP, I found it was needed to hack a bit to get the environment with the correct $NLS_LANG. (This can be done by editing the provided {ZENDHOME}/apache2/bin/apachectl, or in an rc script - ymmv if not using the Zend packaged PHP5+Apache2).

Best to set NLS_LANG=$($ORACLE_HOME/bin/nls_lang.sh), so your web server just takes it from whatever Oracle decides it should be. In my locale the default happens to be "AMERICAN_AMERICA.AL32UTF8". Bryan Cribbs 22:05, 28 January 2007 (CST)