This topic has been archived. It cannot be replied.
-
工作学习 / 学科技术讨论 / 请问Linux高手:为PHP+Apache增加Oracle支持server是 Redhat Linux Fedora 6 + Apache 2.2.6 + PHP 5
现在已经有PHP + MySQL5 的程序在run了,目前没有oci8, 我google了一些方法,主要是担心我装oci8时好像要recompile php, 我有点担心安装后现在的程序是否会受影响,有没有哪位有经验的能指教一下,我应该怎么做risk比较小。
BTW, 我对server只是remote access,通过Webmin 1.370
-dzhu(Daniel);
2008-10-20
{320}
(#4780565@0)
-
unix/linux高手因该会安装配置各种软件。。。
-oceanwater(灌水日月长);
2008-10-20
(#4780585@0)
-
没明白你回帖的目的,能说的再明白点吗
-dzhu(Daniel);
2008-10-20
(#4780620@0)
-
compile the oci module as "plug-in" for php.
-647i(though);
2008-10-20
(#4780972@0)
-
at configure command line, u need have proper parameter setup oci driver as "plug-in"(module)
-647i(though);
2008-10-20
(#4780987@0)
-
when compile, just compile "module" is enough.
-647i(though);
2008-10-20
(#4780991@0)
-
Could you please tell me more detail about how to this, like download which package first, and run which command line
-dzhu(Daniel);
2008-10-21
(#4783253@0)
-
first, I don't think you can do the job by webmin, you need to login the server by ssh.to install oci, you probably need:
1. install oracle develop library. You can goto oracle site to search linux verison library.
2. recomplie php with something like with-oci8. I remember there are two different version library , I used with-oci8 and it's working for me.
You need to do some research about how to configure/compile/install php.
-holdon(again);
2008-10-22
{351}
(#4785063@0)
-
download whole package of php is required IT MUST BE EXACTLY SAME VERSION AS YOUR PRODUCTION php, plus oci for php libaray, use "configure --help"(can't remember exactly parameter) to show what option for oci(--with-oci??) as dynamic load module
-647i(though);
2008-10-23
{635}
(#4788401@0)
-
if u don't want to do compile: 1. get ur php version, 2. by the php version search oci module(like but not exactly as: php-oci-3.4.5-6, if you php is 3.4.5-6) that match your php.3. install it, if path of php is not same as php-oci, manully copy the installed libarary to proper location.
-647i(though);
2008-10-23
{109}
(#4788416@0)
-
Thank you , thank you
-dzhu(Daniel);
2008-10-27
(#4794579@0)