|
From: <php...@li...> - 2009-01-26 18:09:37
|
Hi all,
I'm trying to start the PHP/Java bridge on Windows from my Java application
with the code:
System.setProperty("php.java.bridge.php_exec",phpcgi);
manager = new javax.script.ScriptEngineManager();
e = manager.getEngineByName("php-invocable");
where the string phpcgi contains the location of the php-cgi.exe file, and
manager and e are globally declared.
In principle this works fine. However, now I am trying to get php-cgi.exe to
start with a customized ini file, not the default php.ini file contained
within the
php installation directory. Is it possible to set a system property for that
indicating which ini file is to be used?
Or do I need to start php-cgi.exe explicitly with -c option to accomplish
this?
Thanks,
Bart
|