Re: [PHP-DB] PHP and OCI NLS behaviour

2002-04-18 Thread Rouvas Stathis
HI, I use SuSE.6.4 with Ora.8.1.6/PHP.4.0.6. For a while, it used to be PHP/4.1.2, but I reverted to PHP/4.0.6 because of other non-Ora related problems. /etc/rc.d/apache startup script extract below # # set values for Oracle (need to recompile mod_php with Oracle support) # export ORACLE_SI

Re: [PHP-DB] PHP and OCI NLS behaviour

2002-04-18 Thread Miguel Carvalho
> The speed decrease is dependant on your setup. How fast your machines > are and how good your network is. I ran a few quick tests on our > servers and there seemed to be little effect on performance. The loss > of > performance was unmeasurable. > I see that it's a minor issue. > I'm not sure

Re: [PHP-DB] PHP and OCI NLS behaviour

2002-04-18 Thread Paul Edmondson
On Wed, 2002-04-17 at 22:54, Miguel Carvalho wrote: > > > > Or if that is not available for you to edit you could always try just > > executing a statement to alter the session once a database connection > > is established. This method is a little slower. > > How slower? Very very slower? Can you

Re: [PHP-DB] PHP and OCI NLS behaviour

2002-04-17 Thread Miguel Carvalho
> > Or if that is not available for you to edit you could always try just > executing a statement to alter the session once a database connection > is established. This method is a little slower. How slower? Very very slower? Can you give me an aproximation in seconds? >As you will have to > exe

Re: [PHP-DB] PHP and OCI NLS behaviour

2002-04-16 Thread Graeme Merrall
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 d

Re: [PHP-DB] PHP and OCI NLS behaviour

2002-04-16 Thread Rouvas Stathis
Hi, place appropriate NLS_LANG definitions in the Apache startup script (/etc/rc.d/apache ?). -Stathis. Miguel Carvalho wrote: > > Hi, > > First of all i have searched for this trouble on the news( > groups.google.com); on Oracle docson phpbuilder site; in php general, php > db mailing list'

[PHP-DB] PHP and OCI NLS behaviour

2002-04-16 Thread Miguel Carvalho
Hi, First of all i have searched for this trouble on the news( groups.google.com); on Oracle docson phpbuilder site; in php general, php db mailing list's . The problem: Background info: PHP version: 4.1.2 OS: Linux Suse 7 OCI version: 8 Database version: 7.x Database OS: HP/UX I need to do