Operating System - HP-UX
1837896 Members
3459 Online
110122 Solutions
New Discussion

Re: Apache and PHP with Oracle support

 
Wesley Busdiecker
Occasional Advisor

Apache and PHP with Oracle support

HP has been good enough to provide "B9415AA" which is Apache 1.3.14 with a number of tools built-in and ready to go, including php. But, my users state that the built-in version of PHP4 does not have support for Oracle. I have been able to make a full dynamic build of php 4.0.4p11 with Oracle support which also happens to be the same version as the one built-in from HP - that does not support Oracle, but the problem I have now is how to install the new build with Oracle support in to apache with out rebuilding apache too. So, is this possible, if so how, if not what would be the next suggestion? Or am I or my users missing something, like some form of configuration to the stock apache build from HP?

Thanks for your help in advance!
=- Wesley -=
1 REPLY 1
Kevin Wright
Honored Contributor

Re: Apache and PHP with Oracle support

Apache should have been built with the dynamically loadable module for php included. All you should have to do is uncomment out the lines in http.conf that correspond to you php version. IE
LoadModule php4_module /usr/apache/libexec/libphp4.so

AddModule mod_php4

then apachectl configtest/restart