PHP 与Oracle - oci_connect() ORA-12705: 无法访问 NLS 数据文件
我们在服务器上使用 Oracle 已有多年,但昨天 IT 部门的某个人在没有明确警告的情况下将其删除,这确实使我们的系统崩溃了!
我已经按照 cwallenpoole 的建议采取了行动(谢谢!)并取得了良好的进展,PHP 现在至少包括了 oracle 函数(即 oci_connect),但我现在遇到了另一条错误消息:
“警告:oci_connect () [function.oci-connect]: ORA-12705: 无法访问 NLS 数据文件或无效环境”
我们已确保 tnsnames.ora 等文件位于正确的位置地方,但仍然没有快乐:(
谢谢
We've been using Oracle on our server for years, but someone from IT removed it yesterday without clear warning and it's really thrown our systems!
I've acted on the advice from cwallenpoole (thank you!) and have made good progress, and PHP is now at least including the oracle functions (ie oci_connect) but I am now experiencing another error message:
"Warning: oci_connect() [function.oci-connect]: ORA-12705: Cannot access NLS data files or invalid environment"
We have ensured the tnsnames.ora etc files are in the correct place, but still having no joy :(
thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好的。这是我个人的噩梦。我真的在半夜醒来……或者我没有,但我已经花了好几天的时间来解决这个问题。
所以,这对我有用:
所以...这就是我通常所做的...并且通常它有效...大多数情况...
我认为实际上我能说的就是祝你好运和Godspeed。
Ok. This is my personal nightmare. I seriously wake up in the middle of the night... or I don't, but I have spent days on this problem.
So, this is what worked for me:
So... that is what I generally do... And generally it works... Mostly...
I think that realistically all I can say is Good Luck and Godspeed.