problem changing PHP environment variable

1

I installed php via xampp and I need to change this variable:

NSL_LANG.

Icreatedaphpfilewiththiscode:

<?phpputenv("NLS_LANG=BRAZILIAN PORTUGUESE_BRAZIL.WE8MSWIN1252") or die("Falha ao inserir a variavel de ambiente");

phpinfo();

?>

But when I open this page it shows as in the image.

I need to change this environment variable to that of the function. Does anyone know how to do this?

    
asked by anonymous 26.01.2018 / 18:55

1 answer

1

I'm not sure if this is the case, but I'm not sure how to do this, but I'm not sure how to do this. in the same "context", ie using putenv will not affect the oracle client process.

What you can do is add manually, on windows do this:

Computer > Properties > Advanced System Settings

A window similar to this will appear:

">

26.01.2018 / 19:59