Talk:Installing Oracle for PHP: Difference between revisions
From MoodleDocs
Bryan Cribbs (talk | contribs) No edit summary |
Bryan Cribbs (talk | contribs) m (→Encoding Woes: aside) |
||
Line 1: | Line 1: | ||
Aside from the Encoding problems, the link provided in the article puts the pickle in the jar. | |||
===Encoding Woes=== | ===Encoding Woes=== | ||
Revision as of 03:39, 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".