Oracle8i, PHP4, Apache

From: Date: Sat, 31 Mar 2001 17:02:03 +0000
Subject: Oracle8i, PHP4, Apache
Groups: php.db 
Request: Send a blank email to php-db+get-8068@lists.php.net to get a copy of this message
Hi all, i have a trouble with settiong of environment for apache web server with php and oracle8i database. My connection to the database from php script thru OCI functions working but my problem is, that php script hasn't all environment variables from OS (ORACLE_HOME,ORACLE_SID,NLS_LANG). I have got national character in the database but response to my browser is converted to US7ASCII. I have already set .profiles for all users on the unix box (Solaris) including user nobody, which is used by apache. I did try tu use putenv() fro php for seting NLS_LANG variable without any change. Data are returned in US7ASCII. Have you anybody ideas how tu setup such environment? Probably i am not first who need apache, php and oracle operate.... Regards, Martin.

« previous php.db (#8068) next »