PHP3/Apache/IDS Date Format
Posted in 2000
Topics: Installation, Setup & Upgrades, Stored Procedures & SPL, Server Administration, Internationalization & Character Sets, Versions, Editions & End-of-Life, Jobs, Consulting & Announcements
Doubtless a simple one this. We have successfully installed and
configured PHP3/Apache for use with our IDS system but find all dates
are displayed in the U.S. format, i.e. MDY rather than our UK standard
of DMY. Where do we set this environment variable(s) in order that
PHP3/Apache inherits it ? I presume the variables are
DBLOCALE,CLIENT_LOCALE and DBDATE ??
IDS 7.31.UC2
SCO OpenServer 5.0.4
Regards
Mr Creosote
Environment currently used by PHP/Apache:-
CDSPELL=cdspell
CLIENT_LOCALE=en_US.8859-1COLUMNS
DBDATE=DMY4/
DBPATH=.DBTEMP=/tmp
ERRNO=25
FCEDIT=/bin/ed
IFS='
'
INFORMIXDIR=/usr/informix
INFORMIXSERVER=enigma_shmLINENO=2
LINES
MAILCHECK=600
ONCONFIG=onconfigliveOPTARG
OPTIND=1
PATH=/usr/cosmos/cosprint_2.1/bin:/bin:/etc:/usr/bin:/tcb/bin:/4js/bin:/usr/info
rmix/bin:/usr/local/apache/bin:/usr/local/bin:/usr/local/bison:/usr/loca
l/bison/
bin:/usr/local/libexec
PPID=1
PS2='> '
PS3='#? '
PS4='+ '
PWD=/usr/local/apache/htdocs
RANDOM=16754
SECONDS=0
SERVER_LOCALE=en_US.819
SHELL=/bin/ksh
SQLPID=-1865555728
TBCONFIG=onconfig
TMOUT=0
TZ=GMT0BST,M3.5.0/1,M10.5.0/1
_='Wed Aug 16 10:51:05 BST 2000
uuset '
--
"Just a waffer thin mint?"
Sent via Deja.com http://www.deja.com/
Before you buy.
Mister Creosote wrote: > "Just a waffer thin mint?" This is all we need, a MP thread in c.d.i. :-D
"Mister Creosote" <glynb@my-deja.com> wrote in message news:8ndop0$8qn$1@nnrp1.deja.com... > Doubtless a simple one this. We have successfully installed and > configured PHP3/Apache for use with our IDS system but find all dates > are displayed in the U.S. format, i.e. MDY rather than our UK standard > of DMY. Where do we set this environment variable(s) in order that > PHP3/Apache inherits it ? I presume the variables are > DBLOCALE,CLIENT_LOCALE and DBDATE ?? I think that the environment that matters in this case is the environment of the process that started the Informix engine.