你好 extension=php_oci8.dll已经打开
phpinfo显示OCI8 Support enabled
运行程序提示ORA-12154: TNS:could not resolve the connect identifier specified in
phpinfo显示OCI8 Support enabled
运行程序提示ORA-12154: TNS:could not resolve the connect identifier specified in
设置环境变量
path=d:\oracleClient
NLS_LANG=AMERICAN_AMERICA.ZHS16GBK
系统环境变量
TNS_ADMIN=d:\oracleClient
按理说 我安装过ORACLE 不需要再设置环境变量了吧?
后来我又去ORACLE官网下载了instantclient,
放在D:\LocalHost\instantclient,
环境变量PATH在最前面加上D:\LocalHost\instantclient;
NLS_LANG=AMERICAN_AMERICA.ZHS16GBK
TNS_ADMIN=D:\LocalHost\instantclient
是不是我这样设置哪里出了问题?谢谢
oracle服务器版本是7,客户端是8,php5只有extension=php_oci8.dll没有extension=php_oracle.dll,
难道问题跟上述有关系?