From: <php...@li...> - 2010-08-05 09:56:27
|
> listening port of any started php-fpm pool only. I tried to make PHP-FPM to > listen to the default 9667, and the use_fast_cgi to disable autostart (used > "no") but it still doesn't work. "no" disables fastcgi altogether. Please set it to On. > I assume a started php-fpm is a fcgi server. and I want to make JavaBridge > use the fcgi server that i have started manually without trying to spawn any > fcgi connection/process. does it make sense? Yes, definitely. If you use PHP/Java Bridge version 6.2.1, remove php-cgi and then ask for some PHP page, the bridge will return an error message asking you to start a fastcgi server process. > do you know if php-fpm is a > kind of fcgi server that JavaBridge may support? Certainly. Just start it and configure the bridge to connect to its TCP port (Unix) or NamedPipe file (Windows). Or let the bridge decide which port or file to use and start the fastcgi process afterwards. > I'm trying to look at the source code to try to get this work. Now, I'm > studying ContextLoaderListener and FastCGIServlet. Any pointer would be > appreciated. In version 6.2.1 the configuration has been moved from the FastCGIServlet to the ContextLoaderListener, please see the NEWS file for details: http://php-java-bridge.cvs.sourceforge.net/viewvc/php-java-bridge/php-java-bridge/NEWS?revision=1.87&view=markup Regards, Jost Bökemeier |