有空的朋友帮帮忙??不明白....在Linux8下配置Oracle+Apache,我快疯了.....
以前都是在win32下写php程序,有一个用的是oracle9i数据库,现在要转到linux8.0下运行,最主要是在Apache下用php连上Oracle数据库,然后在把我在windows下导出的oracle数据库文件(.dmp)导入到Linux环境下的数据库就行了,现在出了些问题,请高手帮帮...thanks
0.windows下用exp导出的.dmp数据文件,在linux8能不能正常导入吗?需要怎么做,在linux下也用imp导入????(我对linux下点都不懂)
1.现在在linux下运行连接数据库的程序,是用的oci函数库,程序出错:
Call to undefined function: ocilogon()
找了很多资料,但还是看不懂,有一个如下:
Why do we get the error "Call to undefined function: ora_logon()/ ocilogon()"?
P is not using the correct extension module. Try compiling PHP with the following options:
--with-oracle=/path/to/oracle/home/dir
--with-oci8=/path/to/oracle/home/dir
On Windows systems you can just un-comment the following lines in the php.ini file:
;extension = php_oci8.dll
;extension = php_oracle.dll
上面说的在windows下的我都知道,但在LInux下--with-oracle....这些,在哪配置呀?? 在什么时候写??是自己在命令行上打进去,还是自己写好,只需要去掉注释。。。。???
不解中.....求救!