Hello everybody, here are some results of the tests.
I read the post that Kai suggested on
stackoverflow.comThey suggest two different approach:
1) get Quercus, a PHP interpreter written in Java, and configure Jetty to use it
2) use the fastCGI module of Jetty to transfer anything related with PHP to a standard PHP server
Unfortunately, so far I wasn't able to get any interesting results.
IMHO the first approach is the most interesting, but any attempt to let Jetty use Quercus has failed. I obtain this message:
WARN o.eclipse.jetty.servlet.Holder[:98]-
java.lang.ClassNotFoundException: com.caucho.quercus.servlet.QuercusServlet
(etc...)
despite the fact that I attempted to write the JARs of Quercus in the correct directory.
I also attempted to change the start.ini found in openHAB/server/features/org.eclipse.jetty(...) by adding --module=ext and --module=resources
The problem seems quite trivial, Jetty does not find the JAR, but I wasn't able to solve it.
I will then attempt the second approach, but I am a bit worried: what will happen when I move from the test environment (a PC) to the production target (a RPI or something slightly better) ??
G.