Re: PHP4 & Oracle 8 problem
| From: | Edin Kadribasic | Date: | Tue, 20 Jun 2000 13:04:50 +0000 |
| Subject: | Re: PHP4 & Oracle 8 problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-2295@lists.php.net to get a copy of this message | ||
The NLS_LANG has to be setup in the Apache environment, that is at the time
Apache is started.
Hope this helps,
Edin
Quoting Richard Botík <Richard.Botik@GTSgroup.cz>:
> Hi.
> I'm running Oracle 8 on Linux and want to access it from PHP4 (apache
> module) using OCI8. Database was created with charset EE8ISO859P2.
> SQLPLUS client works correctly but OCI8 function in PHP4 ocifetch()
> returns all chars in 2 bytes (unicode?). In the php script I tried to
> set the environmental variable NLS_LANG to the same value as when
> running SQLPLUS client (CZECH_CZECH REPUBLIC.EE8ISO859P2) without
> expected success.
>
> Does anyone here have experiences with such a problem?
>
> Thanx for any help
>
> Richard
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>