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

前端 未结 5 529
旧时难觅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:28

    I was facing the same error on uwamp 3 in connecting to oracle 11gR2.

    I deleted the oracle instantclient from path variable and copied all files from instantclient to uwamp\bin\apache\bin

    and it worked.

    My setup:

    • System: Windows 7
    • Instantclient: instantclient-basiclite-win32-11.1.0.7.0
    • Web Server: Uwamp3

提交回复
热议问题