成功地在linux/unix下安装apache+php+oracle的人请进!

我在unix下安装apache、php4、和oracle8
可是当我用php4中的OCI系统函数时出错
下面是OCILogon()的报告信息:
Warning: _oci_open_server: Error while trying to retrieve text for error ORA-12154 in /opt/www/index.php on line 2
怎么回事呢?谁成功地做过上述的事件,请告诉我
---------------------------------------------------------------

putenv();
设一下环境变量
只在操作系统的.profile里设置还是不行的,还要在程序中设定OROCLE_HOME

Published At
Categories with Web编程
comments powered by Disqus