Re: PHP and OCI NLS behaviour
| From: | Graeme Merrall | Date: | Wed, 17 Apr 2002 03:17:12 +0000 |
| Subject: | Re: PHP and OCI NLS behaviour | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-18577@lists.php.net to get a copy of this message | ||
Rouvas Stathis wrote:
Hi, place appropriate NLS_LANG definitions in the Apache startup script (/etc/rc.d/apache ?).As a background to this, it's essential to do this because certain things happen when the module is initialised in PHP. Hence if you use putenv() to alter some Oracle defaults, it may well be too late because that option has already been set then the module was loaded (i.e. when Apache starts). Cheers, Graeme