OCIEnvNlsCreate() failed. When i try to connect my oracle database in php

前端 未结 5 493
旧时难觅i
旧时难觅i 2021-01-22 06:27

phpinfo

_ENV[\"ORACLE_HOME\"] C:\\oracle\\instantclient_11_2\\
_ENV[\"OS\"]  Windows_NT
_ENV[\"Path\"]    C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32         


        
5条回答
  •  攒了一身酷
    2021-01-22 07:20

    I solved it copying all the content of C:\instantclient_11_2 (please check what´s yours) inside system and system32 folders in Windows , then I delete the path of C:\instantclient_11_2 in the PATH enviroment variable.

    I am using XAMPP and Windows 8 and it´s the first time I see this issue. I always configured properly oci 8 with xampp and windows in a few minutes. I hope this would help you.

提交回复
热议问题