Re: Oracle8i, PHP4, Apache

From: Date: Sat, 31 Mar 2001 18:07:54 +0000
Subject: Re: Oracle8i, PHP4, Apache
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-8069@lists.php.net to get a copy of this message
Define necessary env vars in Apache startup script. putenv has no effect after httpd has started. Good Luck, -Stathis. Martin Lustig wrote: > > 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. > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.db (#8069) next »