我用的是Oracle10g的client端,
连接远程计算机168.1.1.3:1521/SMTRT使用client的企业管理器以及sqlplus: smtuser/smtadm@SMTRT都能正常连接上Oracle
但是使用PHP的adodb连接就出现问题:tns:no listener.如果使用$conn = OCINLogon("smtuser", "smtadm","168.1.1.3:1521/SMTRT");
就出现:ORA-12737: Instant Client Light: unsupported server character set %s如果使用$conn = OCINLogon("smtuser", "smtadm","168.1.1.3:1521/SMTRT","ZHS16GBK");
就会出现:
OCIEnvNlsCreate() failed. There is something wrong with your system - please check that PATH includes the directory with Oracle Instant Client libraries注:环境为:ZendServer5.0 (apache2.13,php5.30)
连接远程计算机168.1.1.3:1521/SMTRT使用client的企业管理器以及sqlplus: smtuser/smtadm@SMTRT都能正常连接上Oracle
但是使用PHP的adodb连接就出现问题:tns:no listener.如果使用$conn = OCINLogon("smtuser", "smtadm","168.1.1.3:1521/SMTRT");
就出现:ORA-12737: Instant Client Light: unsupported server character set %s如果使用$conn = OCINLogon("smtuser", "smtadm","168.1.1.3:1521/SMTRT","ZHS16GBK");
就会出现:
OCIEnvNlsCreate() failed. There is something wrong with your system - please check that PATH includes the directory with Oracle Instant Client libraries注:环境为:ZendServer5.0 (apache2.13,php5.30)
解决方案 »
- php论坛问题——不同的服务器上执行结果不同
- 怎样才能简洁的完成这个要求?
- PHPBB的CSS 如何能做更改
- php mysql 输出多个表的数据问题
- MYSQL里有没有像PHP里面的explode函数
- [PHP版版主申请] 麻烦大家发表意见,谢谢
- 请问在winme下如何安装可使用apache??
- 急:session问题
- wampsever环境下不解析php,页面直接显示代码。但是通过localhost\*.php可以解析
- PHP-Barcode 生成条形码 下面文字怎么隐藏或去掉
- dede采集入库时能不能加个判断相同标题的符加表字段的内容是否相同?
- 像phpmyadmin 那样压缩下载,而不存在压缩文件!
OCI8 Support enabled
Version 1.3.5
Revision $Revision: 1.269.2.16.2.38.2.32 $
Active Persistent Connections 0
Active Connections 0
Temporary Lob support enabled
Collections support enabled Directive Local Value Master Value
oci8.connection_class no value no value
oci8.default_prefetch 100 100
oci8.events Off Off
oci8.max_persistent -1 -1
oci8.old_oci_close_semantics On On
oci8.persistent_timeout 60 60
oci8.ping_interval 60 60
oci8.privileged_connect On On
oci8.statement_cache_size 20 20