From: <php...@li...> - 2007-03-22 12:43:38
|
Hi, > "/usr/local/php/lib/extensions/" >/usr/local/php/lib/extensions/no-debug-non-zts-20050922/ I don't know where the first, incorrect path comes from . The no-debug-non-zts-20050922 directory is the correct one. > Is there any way to change that installation path > while configuring PHP/Java Bridge? No. php does this automatically. You seem to have two different PHP versions installed. One is patched and uses lib/extension. The other one is the version from which the development files came from. Just remove either one and it will work. > Not even using putenv PHP function? I think this is a general misunderstanding how the environment works. Each process has its own environment. If you use putenv, this will not affect the oracle server nor any other process which has not been started from this particular php instance. Since the php instance terminates after each request (which means that you must not start processes from php instances anyway), the putenv procedure is pretty useless (at least in a web environment). > I saw the FAQ... does it mean that I should start > Apache with apachectl -D > java.ext.dirs=/path/to/my/confs? No. If you want to start Java as a sub process of Apache, and you want to pass your own options to this sub process, you need to write a wrapper binary which exec's java with the parameters you need. Please see the RunJavaBridge wrapper (in the server folder of the source download) for details. > I would rather work something out that did not > envolve having to modify > startup configuration. Why don't you simply start Java via a system service, for example via tomcat? Regards, Jost Boekemeier ___________________________________________________________ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de |