极急!oracle8已经安装,无法用PHP访问?
一台是redhat72+oracle9,数据库、apache/php都配好了,可以正常操作数据库。也可用PHP、JSP操作数据库。
另一台是redhat72+oracle8,数据已经导入、apache/php都也配好,php中已经加入oracle和oci8的支持,但是php连接数据库的时候总是报(_oci_open_server:Error while trying to retrieve text for error ORA-12154)错误。
oracle未启动时也是报同样的错误;oracle启动后,仍然报同样的错误。从其它机器可以操作数据库,该机的net service也配置成功,listener也启动了。
不知道与agent服务有没有关系,我在oracle9上可以启动agent服务,但在oracle8上启动的时候会报ORA-28591:agent control utility:unable to access parameter file